Skip to content

Commit 51cc36e

Browse files
committed
fix error message
1 parent 54c4cbc commit 51cc36e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/vm/src/stdlib/_functools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mod _functools {
4444
} else {
4545
// initial was not provided at all
4646
iter.next().transpose()?.ok_or_else(|| {
47-
vm.new_type_error("reduce() of empty sequence with no initial value")
47+
vm.new_type_error("reduce() of empty iterable with no initial value")
4848
})?
4949
};
5050

0 commit comments

Comments
 (0)