From ddf84ea8459d170b53b387ea1e8919b961064915 Mon Sep 17 00:00:00 2001 From: mcarton Date: Wed, 24 Aug 2016 14:37:09 +0200 Subject: [PATCH] Fix typos --- clippy_lints/src/misc_early.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clippy_lints/src/misc_early.rs b/clippy_lints/src/misc_early.rs index 47b6854cfa5..916801943b7 100644 --- a/clippy_lints/src/misc_early.rs +++ b/clippy_lints/src/misc_early.rs @@ -105,7 +105,7 @@ declare_lint! { "literals whose suffix is not separated by an underscore" } -/// **What it does:** Warns if a integral constant literal starts with `0`. +/// **What it does:** Warns if an integral constant literal starts with `0`. /// /// **Why is this bad?** In some languages (including the infamous C language and most of its /// familly), this marks an octal constant. In Rust however, this is a decimal constant. This could @@ -134,7 +134,7 @@ declare_lint! { /// } /// ``` /// -/// prints `83` (as `89 == 0o123` while `123 == 0o173`). +/// prints `83` (as `83 == 0o123` while `123 == 0o173`). declare_lint! { pub ZERO_PREFIXED_LITERAL, Warn,