@@ -72,18 +72,18 @@ impl server::Server for RaSpanServer<'_> {
7272 // FIXME handle diagnostic
7373 }
7474
75- fn tt_drop ( & mut self , stream : Self :: TokenStream ) {
75+ fn ts_drop ( & mut self , stream : Self :: TokenStream ) {
7676 drop ( stream) ;
7777 }
7878
79- fn tt_clone ( & mut self , stream : & Self :: TokenStream ) -> Self :: TokenStream {
79+ fn ts_clone ( & mut self , stream : & Self :: TokenStream ) -> Self :: TokenStream {
8080 stream. clone ( )
8181 }
8282
83- fn tt_is_empty ( & mut self , stream : & Self :: TokenStream ) -> bool {
83+ fn ts_is_empty ( & mut self , stream : & Self :: TokenStream ) -> bool {
8484 stream. is_empty ( )
8585 }
86- fn tt_from_str ( & mut self , src : & str ) -> Self :: TokenStream {
86+ fn ts_from_str ( & mut self , src : & str ) -> Self :: TokenStream {
8787 Self :: TokenStream :: from_str ( src, self . call_site ) . unwrap_or_else ( |e| {
8888 Self :: TokenStream :: from_str (
8989 & format ! ( "compile_error!(\" failed to parse str to token stream: {e}\" )" ) ,
@@ -92,15 +92,15 @@ impl server::Server for RaSpanServer<'_> {
9292 . unwrap ( )
9393 } )
9494 }
95- fn tt_to_string ( & mut self , stream : & Self :: TokenStream ) -> String {
95+ fn ts_to_string ( & mut self , stream : & Self :: TokenStream ) -> String {
9696 stream. to_string ( )
9797 }
9898
99- fn tt_from_token_tree ( & mut self , tree : TokenTree < Self :: Span > ) -> Self :: TokenStream {
99+ fn ts_from_token_tree ( & mut self , tree : TokenTree < Self :: Span > ) -> Self :: TokenStream {
100100 Self :: TokenStream :: new ( vec ! [ tree] )
101101 }
102102
103- fn tt_expand_expr ( & mut self , self_ : & Self :: TokenStream ) -> Result < Self :: TokenStream , ( ) > {
103+ fn ts_expand_expr ( & mut self , self_ : & Self :: TokenStream ) -> Result < Self :: TokenStream , ( ) > {
104104 // FIXME: requires db, more importantly this requires name resolution so we would need to
105105 // eagerly expand this proc-macro, but we can't know that this proc-macro is eager until we
106106 // expand it ...
@@ -109,7 +109,7 @@ impl server::Server for RaSpanServer<'_> {
109109 Ok ( self_. clone ( ) )
110110 }
111111
112- fn tt_concat_trees (
112+ fn ts_concat_trees (
113113 & mut self ,
114114 base : Option < Self :: TokenStream > ,
115115 trees : Vec < TokenTree < Self :: Span > > ,
@@ -125,7 +125,7 @@ impl server::Server for RaSpanServer<'_> {
125125 }
126126 }
127127
128- fn tt_concat_streams (
128+ fn ts_concat_streams (
129129 & mut self ,
130130 base : Option < Self :: TokenStream > ,
131131 streams : Vec < Self :: TokenStream > ,
@@ -137,7 +137,7 @@ impl server::Server for RaSpanServer<'_> {
137137 stream
138138 }
139139
140- fn tt_into_trees ( & mut self , stream : Self :: TokenStream ) -> Vec < TokenTree < Self :: Span > > {
140+ fn ts_into_trees ( & mut self , stream : Self :: TokenStream ) -> Vec < TokenTree < Self :: Span > > {
141141 ( * stream. 0 ) . clone ( )
142142 }
143143
0 commit comments