diff --git a/src/modules/solution.md b/src/modules/solution.md index 9b8c21fa561c..e8fd9ceaa5a0 100644 --- a/src/modules/solution.md +++ b/src/modules/solution.md @@ -28,14 +28,14 @@ src ```rust,ignore // ---- src/widgets.rs ---- -mod button; -mod label; -mod window; - pub use button::Button; pub use label::Label; pub use window::Window; +mod button; +mod label; +mod window; + pub trait Widget { /// Natural width of `self`. fn width(&self) -> usize;