Skip to content

Commit a6e28c4

Browse files
Cargo fmt again
1 parent 455670f commit a6e28c4

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

moonraker-rs/src/connector/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
pub mod read_deserialize;
22
pub mod websocket_read;
33
pub mod websocket_write;
4-

src/main.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
// Prevent console window in addition to Slint window in Windows release builds when, e.g., starting the app via file manager. Ignored on other platforms.
22
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
33

4-
use std::{
5-
cmp::Ordering, error::Error, fs, path::PathBuf, process::exit, rc::Rc, sync::Arc,
6-
};
4+
use std::{cmp::Ordering, error::Error, fs, path::PathBuf, process::exit, rc::Rc, sync::Arc};
75

86
use clap::Parser;
97
use moonraker_rs::{
108
connector::websocket_read::{MoonrakerEvent, PrinterEvent},
119
moonraker_connection::WebsocketEvent,
1210
requests::FileManagementRequestHandler,
1311
};
14-
use slint::{
15-
Image, Model, ModelRc, Rgba8Pixel, SharedPixelBuffer, SharedString,
16-
VecModel,
17-
};
12+
use slint::{Image, Model, ModelRc, Rgba8Pixel, SharedPixelBuffer, SharedString, VecModel};
1813
use tokio::sync::Mutex;
1914

2015
use crate::{config::MoonrakerConfig, hardware::init_display};

0 commit comments

Comments
 (0)