Skip to content

Commit

Permalink
clippy: size is already u64
Browse files Browse the repository at this point in the history
Signed-off-by: John Eckersberg <[email protected]>
  • Loading branch information
jeckersb committed Sep 24, 2024
1 parent a9cfdc8 commit 4add8a2
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 4add8a2

Please sign in to comment.