From a6398dfc7d0e63165ca7899a0307e0dcb0bb3e6f Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 22 Oct 2024 23:49:28 -0400 Subject: [PATCH] chore: run cargo fmt --- src/client/desktop.rs | 2 +- src/client/icon.rs | 2 +- src/server.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/desktop.rs b/src/client/desktop.rs index 31bc7b4..1223c01 100644 --- a/src/client/desktop.rs +++ b/src/client/desktop.rs @@ -1,5 +1,5 @@ -use std::fs::write; use home::home_dir; +use std::fs::write; /// Makes a desktop file for the application pub fn make_desktop_file(file_name: &str, full_path: &str) { diff --git a/src/client/icon.rs b/src/client/icon.rs index c92fe8d..1f8bd18 100644 --- a/src/client/icon.rs +++ b/src/client/icon.rs @@ -1,5 +1,5 @@ -use std::fs::File; use pelite::{FileMap, PeFile}; +use std::fs::File; use std::io::Cursor; /// Given an .exe file, return the first .ico file inside it diff --git a/src/server.rs b/src/server.rs index ae65983..4fc0d83 100644 --- a/src/server.rs +++ b/src/server.rs @@ -1,10 +1,10 @@ -use std::net::SocketAddrV4; -use std::process::{Command, Output}; use axum::extract::Json; use axum::routing::post; use axum::Router; -use serde::Serialize; use serde::Deserialize; +use serde::Serialize; +use std::net::SocketAddrV4; +use std::process::{Command, Output}; #[derive(Serialize, Deserialize)] pub struct Options {