From 1e28f3977196265730dfb653e30c6ab018c7a042 Mon Sep 17 00:00:00 2001 From: Adam Cosner Date: Fri, 10 Jan 2025 22:46:20 -0800 Subject: [PATCH] Ran cargo fmt --- src/widget/table/model/category.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widget/table/model/category.rs b/src/widget/table/model/category.rs index c3dd5400..5c79d404 100644 --- a/src/widget/table/model/category.rs +++ b/src/widget/table/model/category.rs @@ -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; }