mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Remove an unnecessary into
.
This commit is contained in:
parent
9741dba7fa
commit
adc46e5c08
@ -353,7 +353,7 @@ where
|
||||
_ => ascii_check(c, chars_should_be_ascii).map(Into::into),
|
||||
};
|
||||
let end = src.len() - chars.as_str().len();
|
||||
callback(start..end, res.map(Into::into));
|
||||
callback(start..end, res);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user