about summary refs log tree commit diff
path: root/src/libcore/send_map.rs
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2012-08-14 19:17:59 -0400
committerBen Blum <bblum@andrew.cmu.edu>2012-08-14 19:32:52 -0400
commit4377802202d59eb5aeb36bb6b656d376bbdf67dc (patch)
treefddc8b08325332da6b2db0d4e6f3f7df1e9e9212 /src/libcore/send_map.rs
parent821fa337ffbc81fe5dad7dd1b3fa49dac84aa4ef (diff)
De-mode task.rs and add some option::foo_ref() helpers
Diffstat (limited to 'src/libcore/send_map.rs')
-rw-r--r--src/libcore/send_map.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs
index 6ce590c5ec9..1a130e0e273 100644
--- a/src/libcore/send_map.rs
+++ b/src/libcore/send_map.rs
@@ -237,11 +237,11 @@ mod linear {
     }
 
     impl<K,V> &const linear_map<K,V> {
-        fn len() -> uint {
+        pure fn len() -> uint {
             self.size
         }
 
-        fn is_empty() -> bool {
+        pure fn is_empty() -> bool {
             self.len() == 0
         }