mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Remove some as_slice calls.
This commit is contained in:
parent
4ee89363fb
commit
6a55ae06d7
34 changed files with 79 additions and 79 deletions
|
@ -1506,7 +1506,7 @@ impl Fragment {
|
|||
}
|
||||
match self.specific {
|
||||
SpecificFragmentInfo::UnscannedText(ref text_fragment_info) => {
|
||||
util::str::is_whitespace(text_fragment_info.text.as_slice())
|
||||
util::str::is_whitespace(&text_fragment_info.text)
|
||||
}
|
||||
_ => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue