diff options
Diffstat (limited to 'src/components/layout/inline.rs')
-rw-r--r-- | src/components/layout/inline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/layout/inline.rs b/src/components/layout/inline.rs index 94b2d46b8e8..e3aabadff35 100644 --- a/src/components/layout/inline.rs +++ b/src/components/layout/inline.rs @@ -719,7 +719,7 @@ impl InlineFragments { /// A convenience function to return the fragment at a given index. pub fn get<'a>(&'a self, index: uint) -> &'a Fragment { - self.fragments.get(index) + &self.fragments[index] } /// A convenience function to return a mutable reference to the fragment at a given index. |