mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
commit
47be692723
@ -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)*
|
||||
|
@ -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);
|
||||
},
|
||||
|
@ -224,7 +224,7 @@ fn check_doc<'a, Events: Iterator<Item = (usize, pulldown_cmark::Event<'a>)>>(
|
||||
|
||||
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);
|
||||
|
@ -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,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user