Skip to content

Commit

Permalink
Rustfmt fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sciguy16 committed Oct 2, 2019
1 parent 61d440d commit b0a33f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
use vergen::{
ConstantsFlags,
generate_cargo_keys,
};
use vergen::{generate_cargo_keys, ConstantsFlags};

fn main() {
let mut flags = ConstantsFlags::all();
Expand Down
4 changes: 3 additions & 1 deletion src/request_thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ pub fn thread_spawn(

// Sleep if throttle is set
if global_opts.throttle != 0 {
thread::sleep(Duration::from_millis(u64::from(global_opts.throttle)));
thread::sleep(Duration::from_millis(u64::from(
global_opts.throttle,
)));
}
}

Expand Down

0 comments on commit b0a33f5

Please sign in to comment.