xtask: remove redundant lifetime (clippy::extra_unused_lifetimes)

This commit is contained in:
Matthias Krüger 2021-03-21 12:49:40 +01:00
parent 8a67116857
commit bd407a9882

View file

@ -167,7 +167,7 @@ impl Host {
return Ok(Host { os, cpu, mem }); return Ok(Host { os, cpu, mem });
fn read_field<'a>(path: &str, field: &str) -> Result<String> { fn read_field(path: &str, field: &str) -> Result<String> {
let text = read_file(path)?; let text = read_file(path)?;
let line = text let line = text