From fa619bdcfa76761d9c654ad32c3f9e07d06eae2b Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Fri, 26 Jan 2024 13:22:10 +0100 Subject: [PATCH] Group use std directives --- crates/jean/src/main.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/crates/jean/src/main.rs b/crates/jean/src/main.rs index 8ac74c7..7ac507c 100644 --- a/crates/jean/src/main.rs +++ b/crates/jean/src/main.rs @@ -1,12 +1,15 @@ use clap::{Parser, Subcommand}; use humansize::{format_size, BINARY}; use rc_zip::{prelude::*, EntryContents}; -use std::path::PathBuf; -use std::time::Duration; -use std::{borrow::Cow, fmt}; + use std::{ + borrow::Cow, + collections::HashSet, + fmt, fs::File, io::{self, Read}, + path::PathBuf, + time::Duration, }; struct Optional(Option); @@ -73,7 +76,6 @@ fn do_main(cli: Cli) -> Result<(), Box> { println!("Comment:\n{}", comment); } - use std::collections::HashSet; let mut creator_versions = HashSet::::new(); let mut reader_versions = HashSet::::new(); let mut methods = HashSet::::new();