mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove redundant into_string() calls.
This commit is contained in:
parent
178843456f
commit
3a9e51ea17
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ pub fn transform_text(text: &str, mode: CompressionMode,
|
|||
}
|
||||
};
|
||||
|
||||
return (out_str.into_string(), out_whitespace);
|
||||
return (out_str, out_whitespace);
|
||||
|
||||
fn is_in_whitespace(ch: char, mode: CompressionMode) -> bool {
|
||||
match (ch, mode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue