From 17c96a05de104c0e28e6925bf3e3cca329faf9a2 Mon Sep 17 00:00:00 2001 From: martinbarez Date: Fri, 2 Dec 2022 18:35:21 +0100 Subject: [PATCH] Fix E0531 in quiz2.rs --- exercises/quiz2.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exercises/quiz2.rs b/exercises/quiz2.rs index 606d3c70..0d4335f7 100644 --- a/exercises/quiz2.rs +++ b/exercises/quiz2.rs @@ -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() {