diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-11-16 19:24:11 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-11-18 15:00:58 +0100 |
commit | 5ec1cdea9b3e0b07a417bdba5487c7368367bda6 (patch) | |
tree | b4d4029b6160950ee1d3fb51a6e252e5484e3618 /components/layout/inline.rs | |
parent | de23fef9cac266b58ece5a44cf0415c8322c18d5 (diff) | |
download | servo-5ec1cdea9b3e0b07a417bdba5487c7368367bda6.tar.gz servo-5ec1cdea9b3e0b07a417bdba5487c7368367bda6.zip |
Remove dead code from layout.
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index fe798496e11..4cee4454620 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -804,16 +804,6 @@ impl InlineFragments { self.fragments.is_empty() } - /// Pushes a new inline fragment. - pub fn push(&mut self, fragment: &mut Fragment) { - self.fragments.push(fragment.clone()); - } - - /// Merges another set of inline fragments with this one. - pub fn push_all(&mut self, mut other: InlineFragments) { - self.fragments.append(&mut other.fragments); - } - /// A convenience function to return the fragment at a given index. pub fn get(&self, index: usize) -> &Fragment { &self.fragments[index] |