We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7660b2f commit c331a92Copy full SHA for c331a92
library/core/src/slice/mod.rs
@@ -852,7 +852,7 @@ impl<T> [T] {
852
#[stable(feature = "rust1", since = "1.0.0")]
853
#[inline]
854
pub fn chunks_mut(&mut self, chunk_size: usize) -> ChunksMut<'_, T> {
855
- assert_ne!(chunk_size, 0, "Chunks cannot have a size of zero!");
+ assert_ne!(chunk_size, 0, "chunks cannot have a size of zero");
856
ChunksMut::new(self, chunk_size)
857
}
858
0 commit comments