We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67944b commit ddf84eaCopy full SHA for ddf84ea
clippy_lints/src/misc_early.rs
@@ -105,7 +105,7 @@ declare_lint! {
105
"literals whose suffix is not separated by an underscore"
106
}
107
108
-/// **What it does:** Warns if a integral constant literal starts with `0`.
+/// **What it does:** Warns if an integral constant literal starts with `0`.
109
///
110
/// **Why is this bad?** In some languages (including the infamous C language and most of its
111
/// familly), this marks an octal constant. In Rust however, this is a decimal constant. This could
@@ -134,7 +134,7 @@ declare_lint! {
134
/// }
135
/// ```
136
137
-/// prints `83` (as `89 == 0o123` while `123 == 0o173`).
+/// prints `83` (as `83 == 0o123` while `123 == 0o173`).
138
declare_lint! {
139
pub ZERO_PREFIXED_LITERAL,
140
Warn,
0 commit comments