Fix various warnings

This commit is contained in:
Ian Douglas Scott 2024-04-19 15:44:55 -07:00
parent 09e03cd096
commit 6f45933971
6 changed files with 15 additions and 28 deletions

View file

@ -22,6 +22,8 @@ pub use toplevels::toplevels;
mod visibility_wrapper;
pub use visibility_wrapper::visibility_wrapper;
// Widget for debugging
#[allow(dead_code)]
pub fn layout_wrapper<'a, Msg, T: Into<cosmic::Element<'a, Msg>>>(
inner: T,
) -> LayoutWrapper<'a, Msg> {

View file

@ -106,5 +106,4 @@ impl<'a, Msg: 'a> From<VisibilityWrapper<'a, Msg>> for cosmic::Element<'a, Msg>
fn from(widget: VisibilityWrapper<'a, Msg>) -> Self {
cosmic::Element::new(widget)
}
}