소스 검색

remove unsafe sync impl

Evan Almloff 2 년 전
부모
커밋
c1fc00ed53
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      packages/native-core/src/tree.rs

+ 0 - 2
packages/native-core/src/tree.rs

@@ -225,8 +225,6 @@ pub struct ChildNodeIteratorMut<'a, T, Tr: TreeView<T> + 'a> {
     node_type: PhantomData<T>,
 }
 
-unsafe impl<'a, T, Tr: TreeView<T> + 'a> Sync for ChildNodeIteratorMut<'a, T, Tr> {}
-
 impl<'a, T, Tr: TreeView<T>> ChildNodeIteratorMut<'a, T, Tr> {
     fn tree_mut(&mut self) -> &'a mut Tr {
         unsafe { &mut *self.tree }