Skip to content

Commit

Permalink
Group use std directives
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jan 26, 2024
1 parent de56245 commit fa619bd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions crates/jean/src/main.rs
Original file line number Diff line number Diff line change
@@ -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<T>(Option<T>);
Expand Down Expand Up @@ -73,7 +76,6 @@ fn do_main(cli: Cli) -> Result<(), Box<dyn std::error::Error>> {
println!("Comment:\n{}", comment);
}

use std::collections::HashSet;
let mut creator_versions = HashSet::<rc_zip::Version>::new();
let mut reader_versions = HashSet::<rc_zip::Version>::new();
let mut methods = HashSet::<rc_zip::Method>::new();
Expand Down

0 comments on commit fa619bd

Please sign in to comment.