diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-04-06 11:22:36 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-04-10 07:51:48 -0700 |
| commit | 5606fc0c90461db40faeca16d7bffd9e61c2be73 (patch) | |
| tree | 771bcf433e2c582d97ae276d6927aea08f7ed755 /src/libstd/priority_queue.rs | |
| parent | 72228012343db793ff453b7cf038d973ccac61a7 (diff) | |
| download | rust-5606fc0c90461db40faeca16d7bffd9e61c2be73.tar.gz rust-5606fc0c90461db40faeca16d7bffd9e61c2be73.zip | |
Revert map.each to something which takes two parameters
rather than a tuple. The current setup iterates over `BaseIter<(&'self K, &'self V)>` where 'self is a lifetime declared *in the each method*. You can't place such a type in the impl declaration. The compiler currently allows it, but this will not be legal under #5656 and I'm pretty sure it's not sound now.
Diffstat (limited to 'src/libstd/priority_queue.rs')
0 files changed, 0 insertions, 0 deletions
