Skip to content

Commit 7660b2f

Browse files
Dylan-DPCVirrageS
andauthored
remove exclamation mark
Co-authored-by: Janusz Marcinkiewicz <[email protected]>
1 parent 2b76da8 commit 7660b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ impl<T> [T] {
814814
#[stable(feature = "rust1", since = "1.0.0")]
815815
#[inline]
816816
pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T> {
817-
assert_ne!(chunk_size, 0, "Chunks cannot have a size of zero!");
817+
assert_ne!(chunk_size, 0, "chunks cannot have a size of zero");
818818
Chunks::new(self, chunk_size)
819819
}
820820

0 commit comments

Comments
 (0)