We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c102ae0 commit 3a7e13fCopy full SHA for 3a7e13f
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: e48429abaeb9f9de3f8f71b6267e8ce4ee775b8d
+refs/heads/master: fdc60621364eef2fc20974ff4411f31099ed9595
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/libcore/dvec.rs
@@ -130,7 +130,7 @@ impl<A> DVec<A> {
130
* and return a new vector to replace it with.
131
*/
132
#[inline(always)]
133
- fn swap_mut(f: &fn(-v: ~[mut A]) -> ~[mut A]) {
+ fn swap_mut(f: &fn(+v: ~[mut A]) -> ~[mut A]) {
134
do self.swap |v| {
135
vec::from_mut(f(vec::to_mut(move v)))
136
}
0 commit comments