mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
xtask: remove redundant lifetime (clippy::extra_unused_lifetimes)
This commit is contained in:
parent
8a67116857
commit
bd407a9882
@ -167,7 +167,7 @@ impl Host {
|
||||
|
||||
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 line = text
|
||||
|
Loading…
Reference in New Issue
Block a user