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_session/src/parse.rs | |
| 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_session/src/parse.rs')
| -rw-r--r-- | compiler/rustc_session/src/parse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/parse.rs b/compiler/rustc_session/src/parse.rs index 707c609d8bf..36bbccf1b90 100644 --- a/compiler/rustc_session/src/parse.rs +++ b/compiler/rustc_session/src/parse.rs @@ -69,7 +69,7 @@ pub struct SymbolGallery { impl SymbolGallery { /// Insert a symbol and its span into symbol gallery. - /// If the symbol has occurred before, ignore the new occurrance. + /// If the symbol has occurred before, ignore the new occurrence. pub fn insert(&self, symbol: Symbol, span: Span) { self.symbols.lock().entry(symbol).or_insert(span); } |
