Skip to content

Commit

Permalink
Fix typo in multiple lifetime error message (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
414owen authored Dec 10, 2024
1 parent ec8b6d5 commit 0826182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logos-codegen/src/parser/type_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl TypeParams {
if self.lifetime {
let span = lt.span();

errors.err("Logos types can only have one lifetime can be set", span);
errors.err("Logos types can only have one lifetime", span);
}

self.lifetime = true;
Expand Down

0 comments on commit 0826182

Please sign in to comment.