Skip to content

Commit

Permalink
correct malformed error typo
Browse files Browse the repository at this point in the history
  • Loading branch information
evils committed Apr 19, 2022
1 parent 59fe1d1 commit 9e6bdc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parse/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ pub fn parse_local_resources(content: ParseStream<'_>) -> parse::Result<LocalRes
expr => {
return Err(parse::Error::new(
expr.span(),
"malformed, exptected 'IDENT: TYPE = EXPR'",
"malformed, expected 'IDENT: TYPE = EXPR'",
))
}
};
Expand Down
2 changes: 1 addition & 1 deletion ui/local-malformed-2.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error: malformed, exptected 'IDENT: TYPE = EXPR'
error: malformed, expected 'IDENT: TYPE = EXPR'
--> ui/local-malformed-2.rs:11:21
|
11 | #[task(local = [a: u32])]
Expand Down

0 comments on commit 9e6bdc1

Please sign in to comment.