Skip to content

Commit faf63ed

Browse files
committed
Update literals test
1 parent 8497979 commit faf63ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/literals.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LL | let fail_multi_zero = 000_123usize;
2525
| ^^^^^^^^^^^^
2626
|
2727
= note: `-D clippy::zero-prefixed-literal` implied by `-D warnings`
28-
help: if you mean to use a decimal constant, remove the `0` to remove confusion
28+
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
2929
|
3030
LL | let fail_multi_zero = 123usize;
3131
| ^^^^^^^^
@@ -39,7 +39,7 @@ error: this is a decimal constant
3939
|
4040
LL | let fail8 = 0123;
4141
| ^^^^
42-
help: if you mean to use a decimal constant, remove the `0` to remove confusion
42+
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
4343
|
4444
LL | let fail8 = 123;
4545
| ^^^

0 commit comments

Comments
 (0)