collections: fix fallout

This commit is contained in:
Jorge Aparicio
2014-12-30 17:16:58 -05:00
parent ea94a90488
commit a17c2b60e1
+1 -1
View File
@@ -202,7 +202,7 @@ fn next(&mut self) -> Option<char> {
let buffer = &mut self.buffer;
let sorted = &mut self.sorted;
{
let callback = |d| {
let callback = |&mut: d| {
let class =
unicode::char::canonical_combining_class(d);
if class == 0 && !*sorted {