mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove some as_slice calls.
This commit is contained in:
parent
4ee89363fb
commit
6a55ae06d7
34 changed files with 79 additions and 79 deletions
|
@ -142,7 +142,7 @@ impl TextRunScanner {
|
|||
};
|
||||
|
||||
let old_length = CharIndex(run_text.chars().count() as isize);
|
||||
last_whitespace = util::transform_text(in_fragment.as_slice(),
|
||||
last_whitespace = util::transform_text(&in_fragment,
|
||||
compression,
|
||||
last_whitespace,
|
||||
&mut run_text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue