From a07192fadd794b1eaaec85541886e07578002b74 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 21 Feb 2013 18:27:24 -0800 Subject: libsyntax: Remove all mutable fields from libsyntax. rs=demuting --- src/libsyntax/util/interner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/util') diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index 4b13818974c..41500d6a409 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -18,7 +18,7 @@ use hashmap::linear::LinearMap; use dvec::DVec; pub struct Interner { - priv mut map: LinearMap, + priv map: @mut LinearMap, priv vect: DVec, } @@ -26,7 +26,7 @@ pub struct Interner { pub impl Interner { static fn new() -> Interner { Interner { - map: LinearMap::new(), + map: @mut LinearMap::new(), vect: DVec(), } } -- cgit 1.4.1-3-g733a5