File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ declare_lint! {
105
105
"literals whose suffix is not separated by an underscore"
106
106
}
107
107
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`.
109
109
///
110
110
/// **Why is this bad?** In some languages (including the infamous C language and most of its
111
111
/// familly), this marks an octal constant. In Rust however, this is a decimal constant. This could
@@ -134,7 +134,7 @@ declare_lint! {
134
134
/// }
135
135
/// ```
136
136
///
137
- /// prints `83` (as `89 == 0o123` while `123 == 0o173`).
137
+ /// prints `83` (as `83 == 0o123` while `123 == 0o173`).
138
138
declare_lint ! {
139
139
pub ZERO_PREFIXED_LITERAL ,
140
140
Warn ,
You can’t perform that action at this time.
0 commit comments