aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIceSentry <[email protected]>2020-04-08 23:11:24 +0100
committerIceSentry <[email protected]>2020-04-08 23:11:24 +0100
commita2dc18f71acf83dd2946622603d3da00b456d42a (patch)
tree374a867743743a3127013f81e8567ef50511651b
parent2a582b78a5f9c1fa908fe5f4c9ff4ab2966adb2e (diff)
remove TODO
-rw-r--r--crates/ra_ide/src/inlay_hints.rs1
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,