1
Fork 0

review comments: fix typo and add comments

This commit is contained in:
Esteban Küber 2019-05-06 16:00:21 -07:00
parent f6a4b5270a
commit 54430ad53a
5 changed files with 15 additions and 9 deletions

View file

@ -50,7 +50,7 @@ pub struct ParseSess {
/// Contains the spans of block expressions that could have been incomplete based on the
/// operation token that followed it, but that the parser cannot identify without further
/// analysis.
pub abiguous_block_expr_parse: Lock<FxHashMap<Span, Span>>,
pub ambiguous_block_expr_parse: Lock<FxHashMap<Span, Span>>,
}
impl ParseSess {
@ -74,7 +74,7 @@ impl ParseSess {
included_mod_stack: Lock::new(vec![]),
source_map,
buffered_lints: Lock::new(vec![]),
abiguous_block_expr_parse: Lock::new(FxHashMap::default()),
ambiguous_block_expr_parse: Lock::new(FxHashMap::default()),
}
}