From 8a3ec443f176218384db8c8610bbada9c43a6ea5 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Thu, 9 Feb 2023 23:27:08 +0100 Subject: Fix new clippy lints (#5892) --- xtask/src/themelint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask') diff --git a/xtask/src/themelint.rs b/xtask/src/themelint.rs index e9980574..2a5ef4b7 100644 --- a/xtask/src/themelint.rs +++ b/xtask/src/themelint.rs @@ -156,7 +156,7 @@ pub fn lint(file: String) -> Result<(), DynError> { return Ok(()); } let path = path::themes().join(file.clone() + ".toml"); - let theme = std::fs::read_to_string(&path).unwrap(); + let theme = std::fs::read_to_string(path).unwrap(); let theme: Theme = toml::from_str(&theme).expect("Failed to parse theme"); let mut messages: Vec = vec![]; -- cgit v1.2.3-70-g09d2