fix typos

This commit is contained in:
Dylan DPC 2022-03-15 02:00:08 +01:00
parent 285fa7ecd0
commit 13e889986d
16 changed files with 24 additions and 24 deletions

View file

@ -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 occurance.
/// If the symbol has occurred before, ignore the new occurrance.
pub fn insert(&self, symbol: Symbol, span: Span) {
self.symbols.lock().entry(symbol).or_insert(span);
}