Remove dead code from layout.

This commit is contained in:
Ms2ger 2015-11-16 19:24:11 +01:00
parent de23fef9ca
commit 5ec1cdea9b
11 changed files with 4 additions and 116 deletions

View file

@ -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]