Skip to content

Commit

Permalink
Fix clippy lints in dsc (#1095)
Browse files Browse the repository at this point in the history
  • Loading branch information
leftwo authored Jan 12, 2024
1 parent e71b10d commit ba8746d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dsc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1190,15 +1190,15 @@ async fn loop_create_test(
* Return a formatted string of the region size in SI units.
*/
fn region_si(es: u64, ec: u64, bs: u32) -> String {
let sz = Byte::from_u64((bs as u64 * es * ec).into());
let sz = Byte::from_u64(bs as u64 * es * ec);
format!("{sz:#>11}")
}

/*
* Return a formatted string of the extent file size in SI units
*/
fn efile_si(es: u64, bs: u32) -> String {
let sz = Byte::from_u64((bs as u64 * es).into());
let sz = Byte::from_u64(bs as u64 * es);
format!("{sz:#>11}")
}

Expand Down

0 comments on commit ba8746d

Please sign in to comment.