Skip to content

Commit

Permalink
Merge pull request #803 from jeckersb/size_is_u64
Browse files Browse the repository at this point in the history
clippy: size is already u64
  • Loading branch information
cgwalters authored Sep 24, 2024
2 parents a9cfdc8 + 4add8a2 commit 9f2e0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async fn handle_layer_progress_print(
layer = layers.recv() => {
if let Some(l) = layer {
let layer = descriptor_of_progress(&l);
let layer_size = u64::try_from(layer.size()).unwrap();
let layer_size = layer.size();
if l.is_starting() {
byte_bar.reset_elapsed();
byte_bar.reset_eta();
Expand Down

0 comments on commit 9f2e0fc

Please sign in to comment.