Skip to content

Commit

Permalink
Fix grammatical error in borrower error message
Browse files Browse the repository at this point in the history
  • Loading branch information
imclerran committed Jan 13, 2025
1 parent 528d1d2 commit a78815b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/mono/src/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl<'state, 'a> State<'state, 'a> {
Some(s) => s,
None => unreachable!(
"\n\tNo borrow signature for {name:?} layout.\n\n\t\
Tip 1: This can happen when you call a function with less arguments than it expects.\n\t\
Tip 1: This can happen when you call a function with fewer arguments than it expects.\n\t\
Like `Arg.list!` instead of `Arg.list! {{}}`.\n\t\
Tip 2: `roc check yourfile.roc` can sometimes give you a helpful error.
"
Expand Down

0 comments on commit a78815b

Please sign in to comment.