Rollup merge of #134369 - antonok-edm:refering-referring, r=jieyouxu
Update spelling of "referring" I noticed that `referring` was spelled incorrectly in the output of `unexpected 'cfg' condition name` warnings; it looks like it was also incorrectly spelled in a doc comment. I've update both instances.
This commit is contained in:
commit
0bc3f48c11
4 changed files with 8 additions and 8 deletions
|
@ -31,7 +31,7 @@ declare_lint! {
|
|||
///
|
||||
/// This lint is meant to be used with the (unstable) rustfmt setting `group_imports = "StdExternalCrate"`.
|
||||
/// That setting makes rustfmt group `self::`, `super::`, and `crate::` imports separately from those
|
||||
/// refering to other crates. However, rustfmt cannot know whether `use c::S;` refers to a local module `c`
|
||||
/// referring to other crates. However, rustfmt cannot know whether `use c::S;` refers to a local module `c`
|
||||
/// or an external crate `c`, so it always gets categorized as an import from another crate.
|
||||
/// To ensure consistent grouping of imports from the local crate, all local imports must
|
||||
/// start with `self::`, `super::`, or `crate::`. This lint can be used to enforce that style.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue