aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r--components/layout/inline.rs10
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]