contast -> contrast

This commit is contained in:
Takanori Ishibashi 2018-10-05 18:47:37 +09:00
parent 5015fa346c
commit 819cbfeb96

View File

@ -3800,7 +3800,7 @@ impl<'a> Parser<'a> {
}
/// A wrapper around `parse_pat` with some special error handling for the
/// "top-level" patterns in a match arm, `for` loop, `let`, &c. (in contast
/// "top-level" patterns in a match arm, `for` loop, `let`, &c. (in contrast
/// to subpatterns within such).
pub fn parse_top_level_pat(&mut self) -> PResult<'a, P<Pat>> {
let pat = self.parse_pat()?;