mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
collections: fix fallout
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user