Fix E0531 in quiz2.rs

This commit is contained in:
martinbarez 2022-12-02 18:35:21 +01:00
parent e3af483fa6
commit 17c96a05de
No known key found for this signature in database

View File

@ -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() {