diff options
Diffstat (limited to 'src/components/layout/text.rs')
-rw-r--r-- | src/components/layout/text.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/layout/text.rs b/src/components/layout/text.rs index 569580995c8..70b2cc7a3cc 100644 --- a/src/components/layout/text.rs +++ b/src/components/layout/text.rs @@ -87,12 +87,12 @@ impl TextRunScanner { /// /// FIXME(#2267, pcwalton): Stop cloning fragments. Instead we will need to replace each /// `in_fragment` with some smaller stub. - pub fn flush_clump_to_list(&mut self, - font_context: &mut FontContext, - in_fragments: &[Fragment], - out_fragments: &mut Vec<Fragment>, - last_whitespace: bool) - -> bool { + fn flush_clump_to_list(&mut self, + font_context: &mut FontContext, + in_fragments: &[Fragment], + out_fragments: &mut Vec<Fragment>, + last_whitespace: bool) + -> bool { assert!(self.clump.length() > CharIndex(0)); debug!("TextRunScanner: flushing fragments in range={}", self.clump); |