From e1ae70b3dc0451dbb8a134c03a01094c9824548f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Tue, 23 Jul 2024 15:59:27 +0200 Subject: [PATCH] Add preceding underscore to unused variable --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 2fa98b1..945a8a8 100644 --- a/src/config.rs +++ b/src/config.rs @@ -126,7 +126,7 @@ mod tests { #[should_panic] fn invalid_language() { static INVALID_LANGUAGE: &str = "[language.nonon]"; - let config: Config = toml::from_str(INVALID_LANGUAGE).unwrap(); + let _config: Config = toml::from_str(INVALID_LANGUAGE).unwrap(); } #[test]