Commit e92bd06
authored
meta(cursor): Add rule to avoid explicit type annotations (#2717)
I have noticed that Cursor often adds type annotations, especially in
`let` statements, even when they are not needed. This typically occurs
with generics, which sadly cannot be linted by
[clippy::redundant_type_annotations](https://rust-lang.github.io/rust-clippy/master/index.html#redundant_type_annotations),
so I have instead decided to add a Cursor rule to hopefully prevent this
behavior going forward1 parent 96f3fcb commit e92bd06
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
0 commit comments