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! {
5959}
6060
6161declare_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.
6463 ///
6564 /// ### Example
6665 ///
@@ -72,9 +71,9 @@ declare_lint! {
7271 ///
7372 /// ### Explanation
7473 ///
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 .
7877 OVERFLOWING_LITERALS ,
7978 Deny ,
8079 "literal out of range for its type"
You can’t perform that action at this time.
0 commit comments