mirror of https://github.com/rust-lang/rust.git
commit
899eb65b29
|
@ -48,6 +48,12 @@ pub struct RingBuf<T> {
|
|||
ptr: *mut T
|
||||
}
|
||||
|
||||
#[stable]
|
||||
unsafe impl<T: Send> Send for RingBuf<T> {}
|
||||
|
||||
#[stable]
|
||||
unsafe impl<T: Sync> Sync for RingBuf<T> {}
|
||||
|
||||
#[stable]
|
||||
impl<T: Clone> Clone for RingBuf<T> {
|
||||
fn clone(&self) -> RingBuf<T> {
|
||||
|
|
Loading…
Reference in New Issue