diff --git a/src/keys/key_config.rs b/src/keys/key_config.rs index fe6a9877..9cd4eb73 100644 --- a/src/keys/key_config.rs +++ b/src/keys/key_config.rs @@ -40,10 +40,6 @@ impl KeyConfig { Ok(Self { keys, symbols }) } - #[expect( - clippy::missing_const_for_fn, - reason = "as of 1.86.0 clippy wants this to be const even though that breaks" - )] fn get_key_symbol(&self, k: KeyCode) -> &str { match k { KeyCode::Enter => &self.symbols.enter, @@ -110,10 +106,6 @@ impl KeyConfig { } } - #[expect( - clippy::missing_const_for_fn, - reason = "as of 1.86.0 clippy wants this to be const even though that breaks" - )] fn get_modifier_hint(&self, modifier: KeyModifiers) -> &str { match modifier { KeyModifiers::CONTROL => &self.symbols.control, diff --git a/src/popups/blame_file.rs b/src/popups/blame_file.rs index dd32bbc8..f7316806 100644 --- a/src/popups/blame_file.rs +++ b/src/popups/blame_file.rs @@ -41,10 +41,6 @@ struct SyntaxFileBlame { } impl SyntaxFileBlame { - #[expect( - clippy::missing_const_for_fn, - reason = "as of 1.86.0 clippy wants this to be const even though that breaks" - )] fn path(&self) -> &str { &self.file_blame.path } diff --git a/src/ui/syntax_text.rs b/src/ui/syntax_text.rs index 24634bdf..3985baa5 100644 --- a/src/ui/syntax_text.rs +++ b/src/ui/syntax_text.rs @@ -168,10 +168,6 @@ impl SyntaxText { } /// - #[expect( - clippy::missing_const_for_fn, - reason = "as of 1.86.0 clippy wants this to be const even though that breaks" - )] pub fn path(&self) -> &Path { &self.path }