diff --git a/pagetop/Cargo.toml b/pagetop/Cargo.toml index 1888cacc..912c3477 100644 --- a/pagetop/Cargo.toml +++ b/pagetop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pagetop" -version = "0.0.11" +version = "0.0.12" edition = "2021" authors = [ diff --git a/pagetop/src/api/action/mod.rs b/pagetop/src/api/action/mod.rs index 59310a8a..53e32f8d 100644 --- a/pagetop/src/api/action/mod.rs +++ b/pagetop/src/api/action/mod.rs @@ -6,17 +6,9 @@ pub use definition::{ }; mod holder; -pub use holder::{ - ActionItem, -}; -use holder::{ - ActionsHolder, -}; +pub use holder::ActionItem; +use holder::ActionsHolder; mod all; -pub use all::{ - run_actions, -}; -pub(crate) use all::{ - add_action, -}; +pub use all::run_actions; +pub(crate) use all::add_action; diff --git a/pagetop/src/api/component/mod.rs b/pagetop/src/api/component/mod.rs index 95044f52..a8ee3c4d 100644 --- a/pagetop/src/api/component/mod.rs +++ b/pagetop/src/api/component/mod.rs @@ -19,14 +19,10 @@ pub use definition::{ component_ref, component_mut, }; -use definition::{ - render_component, -}; +use definition::render_component; mod holder; -pub use holder::{ - ComponentsHolder, -}; +pub use holder::ComponentsHolder; mod all; pub use all::{ diff --git a/pagetop/src/lib.rs b/pagetop/src/lib.rs index fd843285..2c298184 100644 --- a/pagetop/src/lib.rs +++ b/pagetop/src/lib.rs @@ -1,8 +1,8 @@ // External. +pub use once_cell::sync::Lazy; pub use concat_string::concat_string; pub use doc_comment::doc_comment; -pub use once_cell::sync::Lazy; // Local.