Update compiler/parse/src/type_annotation.rs

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
This commit is contained in:
hafiz 2022-03-12 23:23:09 -06:00 committed by GitHub
parent 0b3fb576d4
commit 7de55076b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -373,7 +373,7 @@ fn loc_applied_args_e<'a>(
fn has_clause<'a>(min_indent: u32) -> impl Parser<'a, Loc<HasClause<'a>>, EType<'a>> {
map!(
// Suppose we are trying to has "a has Hash"
// Suppose we are trying to parse "a has Hash"
and!(
space0_around_ee(
// Parse "a", with appropriate spaces