diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-07 04:44:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-07 04:44:11 +0200 |
| commit | 7660b2fd748f3b2fa6ddb230d94ff628a0d238dd (patch) | |
| tree | c34360c318ba920cd8e78722abd0b05e0aa9bc93 | |
| parent | 2b76da86ef940a54bac9aee77f54d0ae39e065f6 (diff) | |
remove exclamation mark
Co-authored-by: Janusz Marcinkiewicz <virrages@gmail.com>
| -rw-r--r-- | library/core/src/slice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index 4f0f51d1a4f..376ab41248d 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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) } |
