Ran cargo fmt

This commit is contained in:
Adam Cosner 2025-01-10 22:46:20 -08:00
parent ea4e6c6cde
commit 1e28f39771

View file

@ -4,7 +4,9 @@ use crate::widget::Icon;
/// Implementation of std::fmt::Display allows user to customize the header
/// Ideally, this is implemented on an enum.
pub trait ItemCategory: Default + std::fmt::Display + Clone + Copy + PartialEq + Eq + std::hash::Hash {
pub trait ItemCategory:
Default + std::fmt::Display + Clone + Copy + PartialEq + Eq + std::hash::Hash
{
/// Function that gets the width of the data
fn width(&self) -> iced::Length;
}