From 9cf271fe96b474d514b1052935db70c4056cf076 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 18 Sep 2012 21:41:37 -0700 Subject: De-mode vec::each() and many of the str iteration routines Note that the method foo.each() is not de-moded, nor the other vec routines. --- src/libstd/sort.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/sort.rs') diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs index 74ee337f5b5..c32f7413a92 100644 --- a/src/libstd/sort.rs +++ b/src/libstd/sort.rs @@ -260,7 +260,7 @@ mod test_qsort { let pairs = vec::zip(expected, immut_names); for vec::each(pairs) |p| { - let (a, b) = p; + let (a, b) = *p; debug!("%d %d", a, b); assert (a == b); } -- cgit 1.4.1-3-g733a5