diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/inlay_hints.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_ide/src/inlay_hints.rs b/crates/ra_ide/src/inlay_hints.rs index 6a4fe15fd..a86e18fbb 100644 --- a/crates/ra_ide/src/inlay_hints.rs +++ b/crates/ra_ide/src/inlay_hints.rs | |||
@@ -251,7 +251,6 @@ fn should_show_param_hint( | |||
251 | 251 | ||
252 | // avoid displaying hints for common functions like map, filter, etc. | 252 | // avoid displaying hints for common functions like map, filter, etc. |
253 | // or other obvious words used in std | 253 | // or other obvious words used in std |
254 | // TODO ignore "bytes" if the type is [u8; n] | ||
255 | let is_obvious_param_name = match param_name { | 254 | let is_obvious_param_name = match param_name { |
256 | "predicate" | "value" | "pat" | "rhs" | "other" => true, | 255 | "predicate" | "value" | "pat" | "rhs" | "other" => true, |
257 | _ => false, | 256 | _ => false, |