diff --git a/src/rcvec.rs b/src/rcvec.rs index 86ca7d80..62298b42 100644 --- a/src/rcvec.rs +++ b/src/rcvec.rs @@ -1,5 +1,6 @@ use core::mem; use core::slice; +use std::panic::RefUnwindSafe; use std::rc::Rc; use std::vec; @@ -140,3 +141,5 @@ impl Iterator for RcVecIntoIter { self.inner.size_hint() } } + +impl RefUnwindSafe for RcVec where T: RefUnwindSafe {}