mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
xtask: remove redundant lifetime (clippy::extra_unused_lifetimes)
This commit is contained in:
parent
8a67116857
commit
bd407a9882
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue