File tree Expand file tree Collapse file tree 3 files changed +0
-16
lines changed Expand file tree Collapse file tree 3 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ impl KeyConfig {
4040 Ok ( Self { keys, symbols } )
4141 }
4242
43- #[ expect(
44- clippy:: missing_const_for_fn,
45- reason = "as of 1.86.0 clippy wants this to be const even though that breaks"
46- ) ]
4743 fn get_key_symbol ( & self , k : KeyCode ) -> & str {
4844 match k {
4945 KeyCode :: Enter => & self . symbols . enter ,
@@ -110,10 +106,6 @@ impl KeyConfig {
110106 }
111107 }
112108
113- #[ expect(
114- clippy:: missing_const_for_fn,
115- reason = "as of 1.86.0 clippy wants this to be const even though that breaks"
116- ) ]
117109 fn get_modifier_hint ( & self , modifier : KeyModifiers ) -> & str {
118110 match modifier {
119111 KeyModifiers :: CONTROL => & self . symbols . control ,
Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ struct SyntaxFileBlame {
4141}
4242
4343impl SyntaxFileBlame {
44- #[ expect(
45- clippy:: missing_const_for_fn,
46- reason = "as of 1.86.0 clippy wants this to be const even though that breaks"
47- ) ]
4844 fn path ( & self ) -> & str {
4945 & self . file_blame . path
5046 }
Original file line number Diff line number Diff line change @@ -168,10 +168,6 @@ impl SyntaxText {
168168 }
169169
170170 ///
171- #[ expect(
172- clippy:: missing_const_for_fn,
173- reason = "as of 1.86.0 clippy wants this to be const even though that breaks"
174- ) ]
175171 pub fn path ( & self ) -> & Path {
176172 & self . path
177173 }
You can’t perform that action at this time.
0 commit comments