diff options
author | Matthias Krüger <[email protected]> | 2021-03-21 11:49:40 +0000 |
---|---|---|
committer | Matthias Krüger <[email protected]> | 2021-03-21 11:49:40 +0000 |
commit | bd407a9882250cbbb0897faba08e7d5ef80a4862 (patch) | |
tree | 160cc21d2b41738a7c91a4aa60211c6cbd88be20 | |
parent | 8a671168576b9b552a22be285646fc293a80d8c2 (diff) |
xtask: remove redundant lifetime (clippy::extra_unused_lifetimes)
-rw-r--r-- | xtask/src/metrics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index 97395738b..b0b76b8aa 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs | |||
@@ -167,7 +167,7 @@ impl Host { | |||
167 | 167 | ||
168 | return Ok(Host { os, cpu, mem }); | 168 | return Ok(Host { os, cpu, mem }); |
169 | 169 | ||
170 | fn read_field<'a>(path: &str, field: &str) -> Result<String> { | 170 | fn read_field(path: &str, field: &str) -> Result<String> { |
171 | let text = read_file(path)?; | 171 | let text = read_file(path)?; |
172 | 172 | ||
173 | let line = text | 173 | let line = text |