diff --git a/src/libcollections/ring_buf.rs b/src/libcollections/ring_buf.rs index c8d21761ac08..9e3bcf40a6e8 100644 --- a/src/libcollections/ring_buf.rs +++ b/src/libcollections/ring_buf.rs @@ -48,6 +48,12 @@ pub struct RingBuf { ptr: *mut T } +#[stable] +unsafe impl Send for RingBuf {} + +#[stable] +unsafe impl Sync for RingBuf {} + #[stable] impl Clone for RingBuf { fn clone(&self) -> RingBuf {