Skip to content

Commit

Permalink
fix typo in error message for into-list
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwparas committed Dec 7, 2024
1 parent f6607a0 commit 81a1950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/steel-core/src/core/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ macro_rules! arity_check_generator {
$ (
($name:tt, $args:expr, $arity) => {
if $args.len() != $arity {
stop!(ArityMismatch => format!(stringify!($name expected two arguments, found {}), $args.len()))
stop!(ArityMismatch => format!(stringify!($name expected {} arguments, found {}), $arity, $args.len()))
}
assert!($args.len() == $arity);
};
Expand Down

0 comments on commit 81a1950

Please sign in to comment.