From bd407a9882250cbbb0897faba08e7d5ef80a4862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sun, 21 Mar 2021 12:49:40 +0100 Subject: xtask: remove redundant lifetime (clippy::extra_unused_lifetimes) --- xtask/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src') 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 { return Ok(Host { os, cpu, mem }); - fn read_field<'a>(path: &str, field: &str) -> Result { + fn read_field(path: &str, field: &str) -> Result { let text = read_file(path)?; let line = text -- cgit v1.2.3