diff options
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r-- | components/layout/fragment.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index ce0defe256b..3d683bed03f 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -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, } |