File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ spans = []
16
16
extra-traits = [" syn/extra-traits" ]
17
17
18
18
[dependencies ]
19
- bumpalo = " 2.1 "
19
+ bumpalo = " 3.0.0 "
20
20
lazy_static = " 1.0.0"
21
21
log = " 0.4"
22
22
proc-macro2 = " 1.0"
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ impl Interner {
64
64
fn intern_str ( & self , s : & str ) -> & str {
65
65
// NB: eventually this could be used to intern `s` to only allocate one
66
66
// copy, but for now let's just "transmute" `s` to have the same
67
- // lifetmie as this struct itself (which is our main goal here)
68
- bumpalo :: collections :: String :: from_str_in ( s , & self . bump ) . into_bump_str ( )
67
+ // lifetime as this struct itself (which is our main goal here)
68
+ self . bump . alloc_str ( s )
69
69
}
70
70
71
71
/// Given an import to a local module `id` this generates a unique module id
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ impl<'src> FirstPassRecord<'src> {
424
424
// signature where that and all remaining optional arguments are
425
425
// undefined.
426
426
let mut signatures = Vec :: new ( ) ;
427
- ' outer : for signature in data. signatures . iter ( ) {
427
+ for signature in data. signatures . iter ( ) {
428
428
let mut idl_args = Vec :: with_capacity ( signature. args . len ( ) ) ;
429
429
for ( i, arg) in signature. args . iter ( ) . enumerate ( ) {
430
430
if arg. optional {
You can’t perform that action at this time.
0 commit comments