diff options
| author | bors <bors@rust-lang.org> | 2013-03-11 10:15:58 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-03-11 10:15:58 -0700 |
| commit | 2ebb67487c1530822d83d6da6f71fa62cb68f2cd (patch) | |
| tree | 7c5b611ac00f1054d51fd657d7fb7d143291fce2 /src/libstd/priority_queue.rs | |
| parent | 51cdca0bf0d3efc554c1815df9306ea10e881a14 (diff) | |
| parent | 08c840205ea477d4f76216abac45be6a4ce9fa4b (diff) | |
| download | rust-2ebb67487c1530822d83d6da6f71fa62cb68f2cd.tar.gz rust-2ebb67487c1530822d83d6da6f71fa62cb68f2cd.zip | |
auto merge of #5291 : pcwalton/rust/drop-lint, r=pcwalton
r? @nikomatsakis
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 676bc68e4e5..31f29ce23f2 100644 --- a/src/libstd/priority_queue.rs +++ b/src/libstd/priority_queue.rs @@ -31,7 +31,7 @@ impl<T:Ord> BaseIter<T> for PriorityQueue<T> { /// Visit all values in the underlying vector. /// /// The values are **not** visited in order. - pure fn each(&self, f: fn(&T) -> bool) { self.data.each(f) } + pure fn each(&self, f: &fn(&T) -> bool) { self.data.each(f) } pure fn size_hint(&self) -> Option<uint> { self.data.size_hint() } } |
