mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 05:39:19 +00:00
Fix E0531 in quiz2.rs
This commit is contained in:
parent
e3af483fa6
commit
17c96a05de
@ -27,7 +27,8 @@ pub enum Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod my_module {
|
mod my_module {
|
||||||
use super::Command;
|
use Command;
|
||||||
|
use Command::*;
|
||||||
|
|
||||||
// TODO: Complete the function signature!
|
// TODO: Complete the function signature!
|
||||||
pub fn transformer(input: ???) -> ??? {
|
pub fn transformer(input: ???) -> ??? {
|
||||||
@ -44,7 +45,7 @@ mod my_module {
|
|||||||
mod tests {
|
mod tests {
|
||||||
// TODO: What do we have to import to have `transformer` in scope?
|
// TODO: What do we have to import to have `transformer` in scope?
|
||||||
use ???;
|
use ???;
|
||||||
use super::Command;
|
use Command;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn it_works() {
|
fn it_works() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user