Skip to content

Commit ddf84ea

Browse files
committed
Fix typos
1 parent c67944b commit ddf84ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/misc_early.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ declare_lint! {
105105
"literals whose suffix is not separated by an underscore"
106106
}
107107

108-
/// **What it does:** Warns if a integral constant literal starts with `0`.
108+
/// **What it does:** Warns if an integral constant literal starts with `0`.
109109
///
110110
/// **Why is this bad?** In some languages (including the infamous C language and most of its
111111
/// familly), this marks an octal constant. In Rust however, this is a decimal constant. This could
@@ -134,7 +134,7 @@ declare_lint! {
134134
/// }
135135
/// ```
136136
///
137-
/// prints `83` (as `89 == 0o123` while `123 == 0o173`).
137+
/// prints `83` (as `83 == 0o123` while `123 == 0o173`).
138138
declare_lint! {
139139
pub ZERO_PREFIXED_LITERAL,
140140
Warn,

0 commit comments

Comments
 (0)