Skip to content

Commit 924c1ce

Browse files
committed
Update lints after sync
1 parent 67af127 commit 924c1ce

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/docs/arithmetic_side_effects.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ let _n = Decimal::MAX + Decimal::MAX;
3030
```
3131

3232
### Allowed types
33-
Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.
33+
Custom allowed types can be specified through the "arithmetic-side-effects-allowed" filter.

src/docs/similar_names.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
### What it does
22
Checks for names that are very similar and thus confusing.
33

4+
Note: this lint looks for similar names throughout each
5+
scope. To allow it, you need to allow it on the scope
6+
level, not on the name that is reported.
7+
48
### Why is this bad?
59
It's hard to distinguish between names that differ only
610
by a single character.

0 commit comments

Comments
 (0)