Skip to content

Commit c331a92

Browse files
Dylan-DPCVirrageS
andauthored
Update library/core/src/slice/mod.rs
Co-authored-by: Janusz Marcinkiewicz <[email protected]>
1 parent 7660b2f commit c331a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ impl<T> [T] {
852852
#[stable(feature = "rust1", since = "1.0.0")]
853853
#[inline]
854854
pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T> {
855-
assert_ne!(chunk_size, 0, "Chunks cannot have a size of zero!");
855+
assert_ne!(chunk_size, 0, "chunks cannot have a size of zero");
856856
ChunksMut::new(self, chunk_size)
857857
}
858858

0 commit comments

Comments
 (0)