aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/fragment.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-02-12 18:58:38 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-12 18:58:38 +0100
commit2b0eb98c1d0889d7966b2341528417cb3f916911 (patch)
tree337f4305f1a2012ac205b065c4908272e6d21a7a /components/layout/fragment.rs
parent31f65959818751ab0dadc18acb5a90357067c9a4 (diff)
downloadservo-2b0eb98c1d0889d7966b2341528417cb3f916911.tar.gz
servo-2b0eb98c1d0889d7966b2341528417cb3f916911.zip
Fix some warnings in layout.
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r--components/layout/fragment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs
index 6a27fedfe54..e50342d2e69 100644
--- a/components/layout/fragment.rs
+++ b/components/layout/fragment.rs
@@ -1484,7 +1484,7 @@ impl Fragment {
/// A helper method that uses the breaking strategy described by `slice_iterator` (at present,
/// either natural word breaking or character breaking) to split this fragment.
fn calculate_split_position_using_breaking_strategy<'a,I>(&self,
- mut slice_iterator: I,
+ slice_iterator: I,
max_inline_size: Au,
flags: SplitOptions)
-> Option<SplitResult>