mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Auto merge of #14577 - jsoref:spelling, r=lnicola
Spelling This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling). The misspellings have been reported at4699991040 (summary-12751355796)
The action reports that the changes in this PR would make it happy:4699991284 (summary-12751356293)
closes #14567
This commit is contained in:
commit
2400b36a2e
83 changed files with 137 additions and 136 deletions
|
@ -108,7 +108,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, DeclarativeMacro>) -> Vec<(Stri
|
|||
}
|
||||
try_cnt += 1;
|
||||
if try_cnt > 100 {
|
||||
panic!("invocaton fixture {name} cannot be generated.\n");
|
||||
panic!("invocation fixture {name} cannot be generated.\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ fn invocation_fixtures(rules: &FxHashMap<String, DeclarativeMacro>) -> Vec<(Stri
|
|||
Op::Ignore { .. } | Op::Index { .. } => {}
|
||||
};
|
||||
|
||||
// Simple linear congruential generator for determistic result
|
||||
// Simple linear congruential generator for deterministic result
|
||||
fn rand(seed: &mut usize) -> usize {
|
||||
let a = 1664525;
|
||||
let c = 1013904223;
|
||||
|
|
|
@ -332,7 +332,7 @@ struct MatchState<'t> {
|
|||
/// Cached result of meta variable parsing
|
||||
meta_result: Option<(TtIter<'t>, ExpandResult<Option<Fragment>>)>,
|
||||
|
||||
/// Is error occuried in this state, will `poised` to "parent"
|
||||
/// Is error occurred in this state, will `poised` to "parent"
|
||||
is_error: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue