chore: apply cargo fmt

This commit is contained in:
Victoria Brekenfeld 2023-01-03 21:35:35 +01:00 committed by Michael Murphy
parent cb2b0f7b9a
commit 75687acf2f
22 changed files with 373 additions and 285 deletions

View file

@ -1,9 +1,9 @@
// Copyright 2022 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
use apply::Apply;
use crate::{Element, theme};
use crate::widget::horizontal_rule;
use crate::{theme, Element};
use apply::Apply;
use iced::{Background, Color};
#[must_use]
@ -17,7 +17,9 @@ pub struct ListColumn<'a, Message> {
impl<'a, Message: 'static> Default for ListColumn<'a, Message> {
fn default() -> Self {
Self { children: Vec::with_capacity(4) }
Self {
children: Vec::with_capacity(4),
}
}
}

View file

@ -4,5 +4,5 @@
pub mod column;
// mod item;
pub use self::column::{ListColumn, list_column};
pub use self::column::{list_column, ListColumn};
// pub use self::item::{ListItem, list_item};