diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-07 14:38:38 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-11 09:35:58 -0700 |
| commit | d18f7854578e8c2e1d7dce90db6e3b5cf9befba9 (patch) | |
| tree | 518a4098922b97624778cff41bbdc86547e43afe /src/libstd/priority_queue.rs | |
| parent | 51cdca0bf0d3efc554c1815df9306ea10e881a14 (diff) | |
| download | rust-d18f7854578e8c2e1d7dce90db6e3b5cf9befba9.tar.gz rust-d18f7854578e8c2e1d7dce90db6e3b5cf9befba9.zip | |
librustc: Replace all uses of `fn()` with `&fn()`. rs=defun
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() } } |
