diff options
| author | bors <bors@rust-lang.org> | 2013-02-28 12:45:49 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-02-28 12:45:49 -0800 |
| commit | e1d3a4fb3e2f5b165142adc382de1b226eb688f7 (patch) | |
| tree | 6fe22be7c7b742fc4de6aee8c45cbc011efb181b /src/libstd/priority_queue.rs | |
| parent | b171d0ef7b68fed961597d38e6a474d748243987 (diff) | |
| parent | 2859c1ac6d760876282471ae57fee2e5731f85d5 (diff) | |
| download | rust-e1d3a4fb3e2f5b165142adc382de1b226eb688f7.tar.gz rust-e1d3a4fb3e2f5b165142adc382de1b226eb688f7.zip | |
auto merge of #5156 : pcwalton/rust/method-privacy, r=pcwalton
r? @brson
Diffstat (limited to 'src/libstd/priority_queue.rs')
| -rw-r--r-- | src/libstd/priority_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/priority_queue.rs b/src/libstd/priority_queue.rs index f642bf52f65..4b92bd7543a 100644 --- a/src/libstd/priority_queue.rs +++ b/src/libstd/priority_queue.rs @@ -48,7 +48,7 @@ impl<T:Ord> Mutable for PriorityQueue<T> { fn clear(&mut self) { self.data.truncate(0) } } -impl <T:Ord> PriorityQueue<T> { +pub impl <T:Ord> PriorityQueue<T> { /// Returns the greatest item in the queue - fails if empty pure fn top(&self) -> &self/T { &self.data[0] } |
