about summary refs log tree commit diff
path: root/src/libsyntax/util
diff options
context:
space:
mode:
authorLuqman Aden <laden@mozilla.com>2013-02-15 01:15:53 -0800
committerLuqman Aden <laden@mozilla.com>2013-02-15 02:49:55 -0800
commite244f103c9622ef0d13b138ec6f8425840201def (patch)
tree90dfaa8da5f602e30f05597a12be1d6f81e6f512 /src/libsyntax/util
parent99b3c07b4e788d7120c2754f69613f760a6efd0a (diff)
downloadrust-e244f103c9622ef0d13b138ec6f8425840201def.tar.gz
rust-e244f103c9622ef0d13b138ec6f8425840201def.zip
libsyntax: Get rid of uses of `move` and don't parse it.
Diffstat (limited to 'src/libsyntax/util')
-rw-r--r--src/libsyntax/util/interner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs
index 905571d1817..0677e25a3fe 100644
--- a/src/libsyntax/util/interner.rs
+++ b/src/libsyntax/util/interner.rs
@@ -24,7 +24,7 @@ pub fn mk<T:Eq IterBytes Hash Const Copy>() -> Interner<T> {
     let m = oldmap::HashMap::<T, uint>();
     let hi: hash_interner<T> =
         {map: m, vect: DVec()};
-    move ((move hi) as Interner::<T>)
+    ((hi) as Interner::<T>)
 }
 
 pub fn mk_prefill<T:Eq IterBytes Hash Const Copy>(init: &[T]) -> Interner<T> {