mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 21:59:18 +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 {
|
||||
use super::Command;
|
||||
use Command;
|
||||
use Command::*;
|
||||
|
||||
// TODO: Complete the function signature!
|
||||
pub fn transformer(input: ???) -> ??? {
|
||||
@ -44,7 +45,7 @@ mod my_module {
|
||||
mod tests {
|
||||
// TODO: What do we have to import to have `transformer` in scope?
|
||||
use ???;
|
||||
use super::Command;
|
||||
use Command;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user