mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-26 22:26:26 +03:00
Fix more misspelled comments and strings.
This commit is contained in:
@@ -2582,7 +2582,7 @@ pub fn parse_loop_expr(&mut self, opt_ident: Option<ast::Ident>) -> @Expr {
|
||||
self.mk_expr(lo, hi, ExprLoop(body, opt_ident))
|
||||
}
|
||||
|
||||
// For distingishing between struct literals and blocks
|
||||
// For distinguishing between struct literals and blocks
|
||||
fn looking_at_struct_literal(&mut self) -> bool {
|
||||
self.token == token::LBRACE &&
|
||||
((self.look_ahead(1, |t| token::is_plain_ident(t)) &&
|
||||
|
||||
Reference in New Issue
Block a user