@@ -490,34 +490,34 @@ pub trait Transactional<E = ()> {
490490 }
491491 }
492492}
493-
494- impl < E > Transactional < E > for & Tree {
495- type View = TransactionalTree ;
496-
497- fn make_overlay ( & self ) -> Result < TransactionalTrees > {
498- Ok ( TransactionalTrees {
499- inner : vec ! [ TransactionalTree :: from_tree( self ) ] ,
500- } )
501- }
502-
503- fn view_overlay ( overlay : & TransactionalTrees ) -> Self :: View {
504- overlay. inner [ 0 ] . clone ( )
505- }
506- }
507-
508- impl < E > Transactional < E > for & & Tree {
509- type View = TransactionalTree ;
510-
511- fn make_overlay ( & self ) -> Result < TransactionalTrees > {
512- Ok ( TransactionalTrees {
513- inner : vec ! [ TransactionalTree :: from_tree( * self ) ] ,
514- } )
515- }
516-
517- fn view_overlay ( overlay : & TransactionalTrees ) -> Self :: View {
518- overlay. inner [ 0 ] . clone ( )
519- }
520- }
493+ //
494+ // impl<E> Transactional<E> for &Tree {
495+ // type View = TransactionalTree;
496+ //
497+ // fn make_overlay(&self) -> Result<TransactionalTrees> {
498+ // Ok(TransactionalTrees {
499+ // inner: vec![TransactionalTree::from_tree(self)],
500+ // })
501+ // }
502+ //
503+ // fn view_overlay(overlay: &TransactionalTrees) -> Self::View {
504+ // overlay.inner[0].clone()
505+ // }
506+ // }
507+ //
508+ // impl<E> Transactional<E> for &&Tree {
509+ // type View = TransactionalTree;
510+ //
511+ // fn make_overlay(&self) -> Result<TransactionalTrees> {
512+ // Ok(TransactionalTrees {
513+ // inner: vec![TransactionalTree::from_tree(*self)],
514+ // })
515+ // }
516+ //
517+ // fn view_overlay(overlay: &TransactionalTrees) -> Self::View {
518+ // overlay.inner[0].clone()
519+ // }
520+ // }
521521
522522impl < E > Transactional < E > for Tree {
523523 type View = TransactionalTree ;
0 commit comments