Skip to content

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

Format: order the DDS and JPEG test modules as rustfmt does

Higgs3258435d4493c5a81
diff --git a/crates/ui-egui/src/discard_ui.rs b/crates/ui-egui/src/discard_ui.rs
index c14a62df3..616da8409 100644
--- a/crates/ui-egui/src/discard_ui.rs
+++ b/crates/ui-egui/src/discard_ui.rs
@@ -959,11 +959,12 @@ mod tests {
#[path = "targa_tests.rs"]
mod targa_tests;
- #[path = "jpeg_tests.rs"]
- mod jpeg_tests;
#[path = "dds_tests.rs"]
mod dds_tests;
+ #[path = "jpeg_tests.rs"]
+ mod jpeg_tests;
+
/// One frame with the window's close button pressed; the commands the guard sent.
fn window_close_commands(app: &mut PhotocraftApp) -> Vec<egui::ViewportCommand> {
let mut info = egui::ViewportInfo::default();