Skip to content

Commit 5033033

Browse files
committed
fix clippy comment
1 parent 88f4254 commit 5033033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lading/src/observer/linux/procfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl Sampler {
141141

142142
gauge!("total_rss_bytes").set(aggr.rss as f64);
143143
gauge!("total_pss_bytes").set(aggr.pss as f64);
144-
gauge!("processes_found").set(processes_found as f64);
144+
gauge!("processes_found").set(f64::from(processes_found));
145145

146146
// If we skipped any processes, log a warning.
147147
if !pids_skipped.is_empty() {

0 commit comments

Comments
 (0)