diff --git a/CHANGELOG.md b/CHANGELOG.md index b708ef63158..062aab05e86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,7 +75,7 @@ All notable changes to this project will be documented in this file. ## 0.0.148 * Update to *rustc 1.21.0-nightly (37c7d0ebb 2017-07-31)* -* New lints: [`unreadable_literal`], [`inconsisten_digit_grouping`], [`large_digit_groups`] +* New lints: [`unreadable_literal`], [`inconsistent_digit_grouping`], [`large_digit_groups`] ## 0.0.147 * Update to *rustc 1.21.0-nightly (aac223f4f 2017-07-30)* diff --git a/clippy_lints/src/const_static_lifetime.rs b/clippy_lints/src/const_static_lifetime.rs index 4801f788856..03771f0375b 100644 --- a/clippy_lints/src/const_static_lifetime.rs +++ b/clippy_lints/src/const_static_lifetime.rs @@ -37,7 +37,7 @@ impl StaticConst { // Recursively visit types fn visit_type(&mut self, ty: &Ty, cx: &EarlyContext) { match ty.node { - // Be carefull of nested structures (arrays and tuples) + // Be careful of nested structures (arrays and tuples) TyKind::Array(ref ty, _) => { self.visit_type(&*ty, cx); }, diff --git a/clippy_lints/src/doc.rs b/clippy_lints/src/doc.rs index abe9897ba4d..9ed09d96e1b 100644 --- a/clippy_lints/src/doc.rs +++ b/clippy_lints/src/doc.rs @@ -224,7 +224,7 @@ fn check_doc<'a, Events: Iterator)>>( let (begin, span) = spans[index]; - // Adjust for the begining of the current `Event` + // Adjust for the beginning of the current `Event` let span = span.with_lo(span.lo() + BytePos::from_usize(offset - begin)); check_text(cx, valid_idents, &text, span); diff --git a/src/driver.rs b/src/driver.rs index 7bc5a109d5c..4e367406bcc 100644 --- a/src/driver.rs +++ b/src/driver.rs @@ -82,7 +82,7 @@ impl<'a> CompilerCalls<'a> for ClippyCompilerCalls { .as_ref() .expect( "at this compilation stage \ - the krate must be parsed", + the crate must be parsed", ) .span, );