Fix dead code warnings

This commit is contained in:
Adolfo Ochagavía 2014-05-18 16:33:30 -07:00
parent 29806052ce
commit 75d3690df9

View File

@ -107,9 +107,11 @@ impl<T: TotalOrd> PriorityQueue<T> {
}
}
#[allow(dead_code)]
#[deprecated="renamed to `into_vec`"]
fn to_vec(self) -> Vec<T> { self.into_vec() }
#[allow(dead_code)]
#[deprecated="renamed to `into_sorted_vec`"]
fn to_sorted_vec(self) -> Vec<T> { self.into_sorted_vec() }