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.
mpmc
1 parent 3343ada commit e36e665Copy full SHA for e36e665
src/storage.rs
@@ -5,8 +5,10 @@ use core::borrow::{Borrow, BorrowMut};
5
pub(crate) trait SealedStorage {
6
type Buffer<T>: ?Sized + Borrow<[T]> + BorrowMut<[T]>;
7
/// Obtain the length of the buffer
8
+ #[allow(unused)]
9
fn len<T>(this: *const Self::Buffer<T>) -> usize;
10
/// Obtain access to the first element of the buffer
11
12
fn as_ptr<T>(this: *mut Self::Buffer<T>) -> *mut T;
13
}
14
0 commit comments