Skip to content

Commit bd407a9

Browse files
committed
xtask: remove redundant lifetime (clippy::extra_unused_lifetimes)
1 parent 8a67116 commit bd407a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/metrics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ impl Host {
167167

168168
return Ok(Host { os, cpu, mem });
169169

170-
fn read_field<'a>(path: &str, field: &str) -> Result<String> {
170+
fn read_field(path: &str, field: &str) -> Result<String> {
171171
let text = read_file(path)?;
172172

173173
let line = text

0 commit comments

Comments
 (0)