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:22:21 -0800
commitd6d12d90ff5363f59f1a1bf67f999a5d7944abb1 (patch)
tree76c5a95a71f0a864da9112217af2f121e6a9377a /src/libstd/priority_queue.rs
parentf1e87733bd4b669f2dcfe758a7ae2b1ddea60715 (diff)
downloadrust-d6d12d90ff5363f59f1a1bf67f999a5d7944abb1.tar.gz
rust-d6d12d90ff5363f59f1a1bf67f999a5d7944abb1.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();