diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-03-17 22:55:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 22:55:05 +0100 |
| commit | 270a41c33e6282933ddb3ef405e7089f3e92ea07 (patch) | |
| tree | 10e040ee5d3aabbc8956cf3ca61fdc7388b79e6a /compiler/rustc_parse/src/parser | |
| parent | 5eb3433ed5201c6180e6bee26c3156fea4b174f0 (diff) | |
| parent | 01dbfb3eb264135c432cef223848416f90dac290 (diff) | |
| download | rust-270a41c33e6282933ddb3ef405e7089f3e92ea07.tar.gz rust-270a41c33e6282933ddb3ef405e7089f3e92ea07.zip | |
Rollup merge of #94960 - codehorseman:master, r=oli-obk
Fix many spelling mistakes Signed-off-by: codehorseman <cricis@yeah.net>
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/item.rs b/compiler/rustc_parse/src/parser/item.rs index 27e83394611..e949059099c 100644 --- a/compiler/rustc_parse/src/parser/item.rs +++ b/compiler/rustc_parse/src/parser/item.rs @@ -1970,7 +1970,7 @@ impl<'a> Parser<'a> { // We use an over-approximation here. // `const const`, `fn const` won't parse, but we're not stepping over other syntax either. // `pub` is added in case users got confused with the ordering like `async pub fn`, - // only if it wasn't preceeded by `default` as `default pub` is invalid. + // only if it wasn't preceded by `default` as `default pub` is invalid. let quals: &[Symbol] = if check_pub { &[kw::Pub, kw::Const, kw::Async, kw::Unsafe, kw::Extern] } else { |
