From d998022f7533e14f183b630c20b42abff0194318 Mon Sep 17 00:00:00 2001 From: Nicole L Date: Tue, 11 Feb 2025 10:41:11 -0800 Subject: [PATCH] Move `use` statements to beginning of `widgets.rs` (#2631) --- src/modules/solution.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/solution.md b/src/modules/solution.md index f835f709db0c..e8fd9ceaa5a0 100644 --- a/src/modules/solution.md +++ b/src/modules/solution.md @@ -28,6 +28,10 @@ src ```rust,ignore // ---- src/widgets.rs ---- +pub use button::Button; +pub use label::Label; +pub use window::Window; + mod button; mod label; mod window; @@ -46,10 +50,6 @@ pub trait Widget { println!("{buffer}"); } } - -pub use button::Button; -pub use label::Label; -pub use window::Window; ``` ```rust,ignore