@@ -212,7 +212,7 @@ impl BindingsBuilder {
212212 self . collect_nodes ( link_nodes, & mut nodes) ;
213213
214214 for cmd in nodes {
215- match & * * cmd {
215+ match cmd {
216216 BindingKind :: Empty ( name) => {
217217 bindings. push_empty ( name) ;
218218 }
@@ -272,12 +272,7 @@ impl BindingsBuilder {
272272 nested. extend ( nested_refs. into_iter ( ) . map ( |iter| self . build_inner ( iter) ) ) ;
273273 }
274274
275- fn collect_nodes_ref < ' a > (
276- & ' a self ,
277- id : usize ,
278- len : usize ,
279- nodes : & mut Vec < & ' a Rc < BindingKind > > ,
280- ) {
275+ fn collect_nodes_ref < ' a > ( & ' a self , id : usize , len : usize , nodes : & mut Vec < & ' a BindingKind > ) {
281276 self . nodes [ id] . iter ( ) . take ( len) . for_each ( |it| match it {
282277 LinkNode :: Node ( it) => nodes. push ( it) ,
283278 LinkNode :: Parent { idx, len } => self . collect_nodes_ref ( * idx, * len, nodes) ,
@@ -287,7 +282,7 @@ impl BindingsBuilder {
287282 fn collect_nodes < ' a > (
288283 & ' a self ,
289284 link_nodes : & ' a [ LinkNode < Rc < BindingKind > > ] ,
290- nodes : & mut Vec < & ' a Rc < BindingKind > > ,
285+ nodes : & mut Vec < & ' a BindingKind > ,
291286 ) {
292287 link_nodes. iter ( ) . for_each ( |it| match it {
293288 LinkNode :: Node ( it) => nodes. push ( it) ,
0 commit comments