@@ -24,7 +24,7 @@ warning: attempt to add with overflow
24
24
25
25
## dead-code
26
26
27
- This lint detects detect unused, unexported items. Some
27
+ This lint detects unused, unexported items. Some
28
28
example code that triggers this lint:
29
29
30
30
``` rust
@@ -44,7 +44,7 @@ warning: function is never used: `foo`
44
44
45
45
## deprecated
46
46
47
- This lint detects detects use of deprecated items. Some
47
+ This lint detects use of deprecated items. Some
48
48
example code that triggers this lint:
49
49
50
50
``` rust
@@ -119,7 +119,7 @@ warning: found struct without foreign-function-safe representation annotation in
119
119
120
120
## late-bound-lifetime-arguments
121
121
122
- This lint detects detects generic lifetime arguments in path segments with
122
+ This lint detects generic lifetime arguments in path segments with
123
123
late bound lifetime parameters. Some example code that triggers this lint:
124
124
125
125
``` rust
@@ -381,7 +381,7 @@ extern crate macro_crate_test;
381
381
382
382
## private-in-public
383
383
384
- This lint detects detect private items in public interfaces not caught by the old implementation. Some
384
+ This lint detects private items in public interfaces not caught by the old implementation. Some
385
385
example code that triggers this lint:
386
386
387
387
``` rust,ignore
@@ -659,7 +659,7 @@ warning: unknown lint: `not_a_real_lint`
659
659
660
660
## unreachable-code
661
661
662
- This lint detects detects unreachable code paths. Some example code that
662
+ This lint detects unreachable code paths. Some example code that
663
663
triggers this lint:
664
664
665
665
``` rust,no_run
@@ -681,7 +681,7 @@ warning: unreachable statement
681
681
682
682
## unreachable-patterns
683
683
684
- This lint detects detects unreachable patterns. Some
684
+ This lint detects unreachable patterns. Some
685
685
example code that triggers this lint:
686
686
687
687
``` rust
@@ -716,11 +716,11 @@ annotations now.
716
716
717
717
## unused-allocation
718
718
719
- This lint detects detects unnecessary allocations that can be eliminated.
719
+ This lint detects unnecessary allocations that can be eliminated.
720
720
721
721
## unused-assignments
722
722
723
- This lint detects detect assignments that will never be read. Some
723
+ This lint detects assignments that will never be read. Some
724
724
example code that triggers this lint:
725
725
726
726
``` rust
@@ -741,7 +741,7 @@ warning: value assigned to `x` is never read
741
741
742
742
## unused-attributes
743
743
744
- This lint detects detects attributes that were not used by the compiler. Some
744
+ This lint detects attributes that were not used by the compiler. Some
745
745
example code that triggers this lint:
746
746
747
747
``` rust
@@ -785,7 +785,7 @@ warning: comparison is useless due to type limits
785
785
786
786
## unused-doc-comment
787
787
788
- This lint detects detects doc comments that aren't used by rustdoc. Some
788
+ This lint detects doc comments that aren't used by rustdoc. Some
789
789
example code that triggers this lint:
790
790
791
791
``` rust
@@ -831,7 +831,7 @@ warning: unused import: `std::collections::HashMap`
831
831
832
832
## unused-macros
833
833
834
- This lint detects detects macros that were not used. Some example code that
834
+ This lint detects macros that were not used. Some example code that
835
835
triggers this lint:
836
836
837
837
``` rust
@@ -884,7 +884,7 @@ warning: unused `std::result::Result` that must be used
884
884
885
885
## unused-mut
886
886
887
- This lint detects detect mut variables which don't need to be mutable. Some
887
+ This lint detects mut variables which don't need to be mutable. Some
888
888
example code that triggers this lint:
889
889
890
890
``` rust
@@ -946,7 +946,7 @@ warning: unnecessary `unsafe` block
946
946
947
947
## unused-variables
948
948
949
- This lint detects detect variables which are not used in any way. Some
949
+ This lint detects variables which are not used in any way. Some
950
950
example code that triggers this lint:
951
951
952
952
``` rust
0 commit comments