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 2b76da8 commit 7660b2fCopy full SHA for 7660b2f
library/core/src/slice/mod.rs
@@ -814,7 +814,7 @@ impl<T> [T] {
814
#[stable(feature = "rust1", since = "1.0.0")]
815
#[inline]
816
pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T> {
817
- assert_ne!(chunk_size, 0, "Chunks cannot have a size of zero!");
+ assert_ne!(chunk_size, 0, "chunks cannot have a size of zero");
818
Chunks::new(self, chunk_size)
819
}
820
0 commit comments