From 4d1742280192022d4636fd85f060a8e140e7fdc5 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]