From b31c46365a0e45c0d09027e55db8a624b3309513 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 21 Nov 2024 06:52:47 +0100 Subject: [PATCH] Add a clippy lint --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 22f3373375eeb..d6948e26dd514 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -498,6 +498,7 @@ rest_pat_in_fully_bound_structs = "warn" same_functions_in_if_condition = "warn" semicolon_if_nothing_returned = "warn" should_panic_without_expect = "warn" +single_char_pattern = "warn" single_match_else = "warn" str_split_at_newline = "warn" str_to_string = "warn"