Merge pull request #3161 from mbrubeck/pub

Remove some unneeded pubs. r=Manishearth
This commit is contained in:
Matt Brubeck 2014-08-27 08:36:48 -07:00
commit f5ebd19c01
2 changed files with 7 additions and 7 deletions

View file

@ -87,7 +87,7 @@ 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,
fn flush_clump_to_list(&mut self,
font_context: &mut FontContext,
in_fragments: &[Fragment],
out_fragments: &mut Vec<Fragment>,

View file

@ -536,7 +536,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
/// with a different pseudo-element type.
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
ThreadSafeLayoutNode {
node: self.node.clone(),
pseudo: pseudo,