File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ declare_lint! {
59
59
}
60
60
61
61
declare_lint ! {
62
- /// The `overflowing_literals` lint detects literal out of range for its
63
- /// type.
62
+ /// The `overflowing_literals` lint detects literals out of range for their type.
64
63
///
65
64
/// ### Example
66
65
///
@@ -72,9 +71,9 @@ declare_lint! {
72
71
///
73
72
/// ### Explanation
74
73
///
75
- /// It is usually a mistake to use a literal that overflows the type where
76
- /// it is used. Either use a literal that is within range, or change the
77
- /// type to be within the range of the literal .
74
+ /// It is usually a mistake to use a literal that overflows its type
75
+ /// Change either the literal or its type such that the literal is
76
+ /// within the range of its type .
78
77
OVERFLOWING_LITERALS ,
79
78
Deny ,
80
79
"literal out of range for its type"
You can’t perform that action at this time.
0 commit comments