File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -738,7 +738,7 @@ pub fn visit_token<T: MutVisitor>(t: &mut Token, vis: &mut T) {
738738 }
739739 token:: Interpolated ( nt) => {
740740 let mut nt = Lrc :: make_mut ( nt) ;
741- visit_interpolated ( & mut nt, vis) ;
741+ visit_nonterminal ( & mut nt, vis) ;
742742 }
743743 _ => { }
744744 }
@@ -769,7 +769,7 @@ pub fn visit_token<T: MutVisitor>(t: &mut Token, vis: &mut T) {
769769// contain multiple items, but decided against it when I looked at
770770// `parse_item_or_view_item` and tried to figure out what I would do with
771771// multiple items there....
772- pub fn visit_interpolated < T : MutVisitor > ( nt : & mut token:: Nonterminal , vis : & mut T ) {
772+ pub fn visit_nonterminal < T : MutVisitor > ( nt : & mut token:: Nonterminal , vis : & mut T ) {
773773 match nt {
774774 token:: NtItem ( item) => visit_clobber ( item, |item| {
775775 // This is probably okay, because the only visitors likely to
You can’t perform that action at this time.
0 commit comments