From cb483431cc849ea7dd86ec3e94a586fada6243b8 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 19 Feb 2023 14:24:28 +0100 Subject: [PATCH] Make widget submodules public This will make the generated documentation more readable once I add module docstrings. I'm still reexporting the module contents to keep imports nice and tidy. --- src/widgets.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/widgets.rs b/src/widgets.rs index a36f231..dc80eb7 100644 --- a/src/widgets.rs +++ b/src/widgets.rs @@ -1,15 +1,15 @@ -mod background; -mod border; -mod cursor; -mod editor; -mod either; -mod empty; -mod float; -mod join; -mod layer; -mod padding; -mod resize; -mod text; +pub mod background; +pub mod border; +pub mod cursor; +pub mod editor; +pub mod either; +pub mod empty; +pub mod float; +pub mod join; +pub mod layer; +pub mod padding; +pub mod resize; +pub mod text; pub use background::*; pub use border::*;