Remove an unnecessary into
.
This commit is contained in:
parent
9741dba7fa
commit
adc46e5c08
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue