File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
3
3
name = " string_cache_plugin"
4
- version = " 0.1.9 "
4
+ version = " 0.1.10 "
5
5
authors = [ " The Servo Project Developers" ]
6
6
description = " A string interning library for Rust, developed as part of the Servo project − compiler plugin."
7
7
license = " MIT / Apache-2.0"
Original file line number Diff line number Diff line change 9
9
10
10
use syntax:: ptr:: P ;
11
11
use syntax:: codemap:: Span ;
12
- use syntax:: ast:: { TokenTree , TtToken } ;
12
+ use syntax:: ast:: TokenTree ;
13
13
use syntax:: ast;
14
14
use syntax:: ext:: base:: { ExtCtxt , MacResult , MacEager } ;
15
15
use syntax:: parse:: token:: { InternedString , Ident , Literal , Lit } ;
@@ -21,8 +21,8 @@ use std::ascii::AsciiExt;
21
21
22
22
fn atom_tok_to_str ( t : & TokenTree ) -> Option < InternedString > {
23
23
Some ( match * t {
24
- TtToken ( _, Ident ( s, _) ) => s. name . as_str ( ) ,
25
- TtToken ( _, Literal ( Lit :: Str_ ( s) , _) ) => s. as_str ( ) ,
24
+ TokenTree :: Token ( _, Ident ( s, _) ) => s. name . as_str ( ) ,
25
+ TokenTree :: Token ( _, Literal ( Lit :: Str_ ( s) , _) ) => s. as_str ( ) ,
26
26
_ => return None ,
27
27
} )
28
28
}
You can’t perform that action at this time.
0 commit comments