Skip to content

Commit

Permalink
Fix typo in bail message (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
BKDaugherty authored Apr 19, 2023
1 parent 1b105ca commit 2037251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prost-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ fn try_enumeration(input: TokenStream) -> Result<TokenStream, Error> {

match discriminant {
Some((_, expr)) => variants.push((ident, expr)),
None => bail!("Enumeration variants must have a disriminant"),
None => bail!("Enumeration variants must have a discriminant"),
}
}

Expand Down

0 comments on commit 2037251

Please sign in to comment.