Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

style: cargo fmt

Khawar Zamman Wani308460fa4e66
diff --git a/crates/ui-egui/src/color_panel_ui.rs b/crates/ui-egui/src/color_panel_ui.rs
index 12f01ebf2..35b6593f4 100644
--- a/crates/ui-egui/src/color_panel_ui.rs
+++ b/crates/ui-egui/src/color_panel_ui.rs
@@ -14,12 +14,12 @@ use serde_json::json;
use crate::PhotocraftApp;
use crate::color_picker_ui::{hex, not_web_safe, out_of_gamut};
-use photocraft_color::convert::{hsb_to_rgb, rgb_to_hsb};
use crate::panels::{color_field_fill_id, field_chips, field_hsva, srgb_hsva};
use crate::state::{ColorPanelMode, ColorRamp};
use crate::theme::Tokens;
use crate::widgets;
use photocraft_color::convert;
+use photocraft_color::convert::{hsb_to_rgb, rgb_to_hsb};
/// Width of the chips column, as the cube field's.
const CHIPS_W: f32 = 38.0;
diff --git a/crates/ui-egui/src/panels.rs b/crates/ui-egui/src/panels.rs
index c91634ef6..5bb1f66ac 100644
--- a/crates/ui-egui/src/panels.rs
+++ b/crates/ui-egui/src/panels.rs
@@ -4724,7 +4724,6 @@ mod color_tests {
}
}
-
/// The Color panel's hex readout is editable, with or without the leading `#`.
#[test]
fn color_panel_hex_field_takes_a_typed_hex() {