Skip to content

Commit

Permalink
Add clippy suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Renan Magagnin <[email protected]>
  • Loading branch information
renanmagagnin committed Jan 13, 2025
1 parent d61c1e4 commit bbe3456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mountpoint-s3/src/bin/file-system-benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ trait DurationExt {
impl DurationExt for Duration {
fn as_millis_f64_temp(&self) -> f64 {
const NANOS_PER_MILLI: f64 = 1_000_000.0;
return self.as_nanos() as f64 / NANOS_PER_MILLI;
self.as_nanos() as f64 / NANOS_PER_MILLI
}
}

Expand Down

0 comments on commit bbe3456

Please sign in to comment.