1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-30 17:28:20 +02:00

Move use statements to beginning of widgets.rs (#2631)

This commit is contained in:
Nicole L 2025-02-11 10:41:11 -08:00 committed by GitHub
parent cdfe3e7359
commit d998022f75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,10 @@ src
```rust,ignore ```rust,ignore
// ---- src/widgets.rs ---- // ---- src/widgets.rs ----
pub use button::Button;
pub use label::Label;
pub use window::Window;
mod button; mod button;
mod label; mod label;
mod window; mod window;
@ -46,10 +50,6 @@ pub trait Widget {
println!("{buffer}"); println!("{buffer}");
} }
} }
pub use button::Button;
pub use label::Label;
pub use window::Window;
``` ```
```rust,ignore ```rust,ignore