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 783f6dd commit 134b064Copy full SHA for 134b064
src/ringbuffer_trait.rs
@@ -339,9 +339,6 @@ pub unsafe trait RingBuffer<T>:
339
340
/// Efficiently drain the ringbuffer, transferring items to a slice.
341
///
342
- /// # Panics
343
- /// Panics if the `dst.len()` is greater than the buffer length.
344
- ///
345
/// # Safety
346
/// ONLY SAFE WHEN self is a *mut to to an implementor of `RingBuffer`
347
unsafe fn ptr_drain_to_slice(rb: *mut Self, dst: &mut [T])
@@ -350,9 +347,6 @@ pub unsafe trait RingBuffer<T>:
350
351
348
352
349
353
354
355
356
/// # Examples
357
358
/// ```
0 commit comments