chore: format for 2024 edition

This commit is contained in:
Michael Aaron Murphy 2025-03-21 13:33:07 +01:00
parent 8cf372c9b9
commit 0aa518984e
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
57 changed files with 196 additions and 199 deletions

View file

@ -4,12 +4,11 @@
use std::borrow::Cow;
use crate::{
theme,
widget::{column, container, flex_row, horizontal_space, row, text, FlexRow, Row},
Element,
Element, theme,
widget::{FlexRow, Row, column, container, flex_row, horizontal_space, row, text},
};
use derive_setters::Setters;
use iced_core::{text::Wrapping, Length};
use iced_core::{Length, text::Wrapping};
use taffy::AlignContent;
/// A settings item aligned in a row

View file

@ -5,10 +5,10 @@ pub mod item;
pub mod section;
pub use self::item::{flex_item, flex_item_row, item, item_row};
pub use self::section::{section, Section};
pub use self::section::{Section, section};
use crate::widget::{column, Column};
use crate::{theme, Element};
use crate::widget::{Column, column};
use crate::{Element, theme};
/// A column with a predefined style for creating a settings panel
#[must_use]

View file

@ -1,8 +1,8 @@
// Copyright 2022 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
use crate::widget::{column, text, ListColumn};
use crate::Element;
use crate::widget::{ListColumn, column, text};
use std::borrow::Cow;
/// A section within a settings view column.