Skip to content

Commit c1d32d8

Browse files
committed
fix wording in assert
1 parent 343db27 commit c1d32d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3028,7 +3028,7 @@ impl<T, A: Allocator> Vec<T, A> {
30283028
#[unstable(feature = "vec_into_chunks", issue = "142137")]
30293029
pub fn into_chunks<const N: usize>(mut self) -> Vec<[T; N], A> {
30303030
const {
3031-
assert!(N != 0, "chunk size should be greater than zero");
3031+
assert!(N != 0, "chunk size must be greater than zero");
30323032
}
30333033

30343034
let (len, cap) = (self.len(), self.capacity());

0 commit comments

Comments
 (0)