1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::Push as PushWithSafety; /// `Push` without safety information pub trait Push<V> { /// `push` without safety information fn push(&mut self, v: V); } impl<V, P: PushWithSafety<V>> Push<V> for P { fn push(&mut self, v: V) { P::push(self, v) } }