about summary refs log tree commit diff
path: root/src/libstd/priority_queue.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-12-17 16:04:04 -0800
committerBrian Anderson <banderson@mozilla.com>2012-12-17 16:44:27 -0800
commit5bf7ba077330c4cdb75802a4ca2497af24d21c4e (patch)
tree9d56749e4e8a75989542cf08d8aff8d47b8f294e /src/libstd/priority_queue.rs
parent68998724c6f3ece600aa881d74c1ed1fa0410a7b (diff)
downloadrust-5bf7ba077330c4cdb75802a4ca2497af24d21c4e.tar.gz
rust-5bf7ba077330c4cdb75802a4ca2497af24d21c4e.zip
Register snapshots
Diffstat (limited to 'src/libstd/priority_queue.rs')
-rw-r--r--src/libstd/priority_queue.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstd/priority_queue.rs b/src/libstd/priority_queue.rs
index 2f24b47883f..642b27fa465 100644
--- a/src/libstd/priority_queue.rs
+++ b/src/libstd/priority_queue.rs
@@ -80,20 +80,10 @@ impl <T: Ord> PriorityQueue<T> {
     }
 
     /// Consume the PriorityQueue and return the underlying vector
-    #[cfg(stage0)]
-    pure fn to_vec(self) -> ~[T] { fail }
-    #[cfg(stage1)]
-    #[cfg(stage2)]
-    #[cfg(stage3)]
     pure fn to_vec(self) -> ~[T] { let PriorityQueue{data: v} = self; v }
 
     /// Consume the PriorityQueue and return a vector in sorted
     /// (ascending) order
-    #[cfg(stage0)]
-    pure fn to_sorted_vec(self) -> ~[T] { fail }
-    #[cfg(stage1)]
-    #[cfg(stage2)]
-    #[cfg(stage3)]
     pure fn to_sorted_vec(self) -> ~[T] {
         let mut q = self;
         let mut end = q.len();