aboutsummaryrefslogtreecommitdiff
path: root/src/rcvec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcvec.rs')
-rw-r--r--src/rcvec.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rcvec.rs b/src/rcvec.rs
index 86ca7d8..62298b4 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<T> Iterator for RcVecIntoIter<T> {
self.inner.size_hint()
}
}
+
+impl<T> RefUnwindSafe for RcVec<T> where T: RefUnwindSafe {}