about summary refs log tree commit diff
path: root/src/libcore/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/util.rs')
-rw-r--r--src/libcore/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/util.rs b/src/libcore/util.rs
index 214a9dea8d1..739314bf619 100644
--- a/src/libcore/util.rs
+++ b/src/libcore/util.rs
@@ -18,11 +18,11 @@ use prelude::*;
 
 /// The identity function.
 #[inline(always)]
-pub pure fn id<T>(x: T) -> T { x }
+pub fn id<T>(x: T) -> T { x }
 
 /// Ignores a value.
 #[inline(always)]
-pub pure fn ignore<T>(_x: T) { }
+pub fn ignore<T>(_x: T) { }
 
 /// Sets `*ptr` to `new_value`, invokes `op()`, and then restores the
 /// original value of `*ptr`.