mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
remove exclamation mark
Co-authored-by: Janusz Marcinkiewicz <virrages@gmail.com>
This commit is contained in:
parent
2b76da86ef
commit
7660b2fd74
@ -814,7 +814,7 @@ impl<T> [T] {
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[inline]
|
||||
pub fn chunks(&self, chunk_size: usize) -> Chunks<'_, T> {
|
||||
assert_ne!(chunk_size, 0, "Chunks cannot have a size of zero!");
|
||||
assert_ne!(chunk_size, 0, "chunks cannot have a size of zero");
|
||||
Chunks::new(self, chunk_size)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user