mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-27 16:25:43 +02:00
Move use
statements to beginning of widgets.rs
(#2631)
This commit is contained in:
parent
cdfe3e7359
commit
d998022f75
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user