From 5774095300f15cf3611d211bbc2a6eb97870cb80 Mon Sep 17 00:00:00 2001 From: Ian McLerran Date: Mon, 13 Jan 2025 11:56:22 -0600 Subject: [PATCH] Fix grammatical error in borrower error message --- crates/compiler/mono/src/borrow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compiler/mono/src/borrow.rs b/crates/compiler/mono/src/borrow.rs index 4b8a9faf3de..ca60d2f3884 100644 --- a/crates/compiler/mono/src/borrow.rs +++ b/crates/compiler/mono/src/borrow.rs @@ -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. "