about summary refs log tree commit diff
path: root/src/libcore/mutable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/mutable.rs')
-rw-r--r--src/libcore/mutable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mutable.rs b/src/libcore/mutable.rs
index d0aa6e050f5..fc4e52891dd 100644
--- a/src/libcore/mutable.rs
+++ b/src/libcore/mutable.rs
@@ -55,7 +55,7 @@ pub impl<T> Data<T> {
         }
     }
 
-    pure fn borrow_const<R>(&self, op: &fn(t: &const T) -> R) -> R {
+    fn borrow_const<R>(&self, op: &fn(t: &const T) -> R) -> R {
         op(&const self.value)
     }