Fix typos in compiler
This commit is contained in:
parent
a73288371e
commit
677357d32b
71 changed files with 140 additions and 136 deletions
|
@ -219,7 +219,7 @@ fn find_best_match_for_name_impl(
|
|||
}
|
||||
|
||||
// We have a tie among several candidates, try to select the best among them ignoring substrings.
|
||||
// For example, the candidates list `force_capture`, `capture`, and user inputed `forced_capture`,
|
||||
// For example, the candidates list `force_capture`, `capture`, and user inputted `forced_capture`,
|
||||
// we select `force_capture` with a extra round of edit distance calculation.
|
||||
if next_candidates.len() > 1 {
|
||||
debug_assert!(use_substring_score);
|
||||
|
|
|
@ -1207,7 +1207,7 @@ impl HygieneEncodeContext {
|
|||
// a `SyntaxContext` that we haven't seen before
|
||||
while !self.latest_ctxts.lock().is_empty() || !self.latest_expns.lock().is_empty() {
|
||||
debug!(
|
||||
"encode_hygiene: Serializing a round of {:?} SyntaxContextDatas: {:?}",
|
||||
"encode_hygiene: Serializing a round of {:?} SyntaxContextData: {:?}",
|
||||
self.latest_ctxts.lock().len(),
|
||||
self.latest_ctxts
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue