Skip to content

Commit d3fc7b9

Browse files
committed
librustc: De-@mut the translation stats
1 parent 9f67069 commit d3fc7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/trans/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub struct CrateContext {
100100
all_llvm_symbols: RefCell<HashSet<@str>>,
101101
tcx: ty::ctxt,
102102
maps: astencode::Maps,
103-
stats: @mut Stats,
103+
stats: @Stats,
104104
tydesc_type: Type,
105105
int_type: Type,
106106
opaque_vec_type: Type,
@@ -210,7 +210,7 @@ impl CrateContext {
210210
all_llvm_symbols: RefCell::new(HashSet::new()),
211211
tcx: tcx,
212212
maps: maps,
213-
stats: @mut Stats {
213+
stats: @Stats {
214214
n_static_tydescs: Cell::new(0u),
215215
n_glues_created: Cell::new(0u),
216216
n_null_glues: Cell::new(0u),

0 commit comments

Comments
 (0)