@@ -443,7 +443,7 @@ struct Module {
443
443
anonymous_children : RefCell < HashMap < NodeId , @Module > > ,
444
444
445
445
// The status of resolving each import in this module.
446
- import_resolutions : RefCell < HashMap < Name , @mut ImportResolution > > ,
446
+ import_resolutions : RefCell < HashMap < Name , @ImportResolution > > ,
447
447
448
448
// The number of unresolved globs that this module exports.
449
449
glob_count : Cell < uint > ,
@@ -1978,7 +1978,7 @@ impl Resolver {
1978
1978
}
1979
1979
None => {
1980
1980
debug ! ( "(building import directive) creating new" ) ;
1981
- let resolution = @mut ImportResolution :: new ( id, is_public) ;
1981
+ let resolution = @ImportResolution :: new ( id, is_public) ;
1982
1982
resolution. outstanding_references . set ( 1 ) ;
1983
1983
import_resolutions. get ( ) . insert ( target. name ,
1984
1984
resolution) ;
@@ -2334,8 +2334,7 @@ impl Resolver {
2334
2334
== 0 => {
2335
2335
2336
2336
fn get_binding ( this : & mut Resolver ,
2337
- import_resolution :
2338
- @mut ImportResolution ,
2337
+ import_resolution : @ImportResolution ,
2339
2338
namespace : Namespace )
2340
2339
-> NamespaceResult {
2341
2340
@@ -2534,7 +2533,7 @@ impl Resolver {
2534
2533
None => {
2535
2534
// Simple: just copy the old import resolution.
2536
2535
let new_import_resolution =
2537
- @mut ImportResolution :: new ( id, is_public) ;
2536
+ @ImportResolution :: new ( id, is_public) ;
2538
2537
new_import_resolution. value_target . set (
2539
2538
target_import_resolution. value_target . get ( ) ) ;
2540
2539
new_import_resolution. type_target . set (
@@ -2577,8 +2576,8 @@ impl Resolver {
2577
2576
match import_resolutions. get ( ) . find ( & name) {
2578
2577
None => {
2579
2578
// Create a new import resolution from this child.
2580
- dest_import_resolution = @ mut ImportResolution :: new ( id ,
2581
- is_public) ;
2579
+ dest_import_resolution =
2580
+ @ ImportResolution :: new ( id , is_public) ;
2582
2581
import_resolutions. get ( ) . insert ( name,
2583
2582
dest_import_resolution) ;
2584
2583
}
0 commit comments