File tree 1 file changed +2
-2
lines changed
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) {
738
738
}
739
739
token:: Interpolated ( nt) => {
740
740
let mut nt = Lrc :: make_mut ( nt) ;
741
- visit_interpolated ( & mut nt, vis) ;
741
+ visit_nonterminal ( & mut nt, vis) ;
742
742
}
743
743
_ => { }
744
744
}
@@ -769,7 +769,7 @@ pub fn visit_token<T: MutVisitor>(t: &mut Token, vis: &mut T) {
769
769
// contain multiple items, but decided against it when I looked at
770
770
// `parse_item_or_view_item` and tried to figure out what I would do with
771
771
// 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 ) {
773
773
match nt {
774
774
token:: NtItem ( item) => visit_clobber ( item, |item| {
775
775
// This is probably okay, because the only visitors likely to
You can’t perform that action at this time.
0 commit comments