aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-06-10 14:04:15 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-06-10 14:04:15 -0700
commit775953b11edef2cbc68823551ee38c3034d858b4 (patch)
tree69546f752d0703d37e7dddb5d108c5fd96c5a4c0 /components/layout/inline.rs
parent1c636dd2d0c254e694db0353d4da6aba132763d4 (diff)
downloadservo-775953b11edef2cbc68823551ee38c3034d858b4.tar.gz
servo-775953b11edef2cbc68823551ee38c3034d858b4.zip
Fix indices in Line::range doc comment
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r--components/layout/inline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index 2ac426776a0..6379391ddc8 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -90,7 +90,7 @@ pub struct Line {
///
/// The ranges that describe these lines would be:
///
- /// | [0, 2) | [2, 3) | [3, 4) | [4, 5) |
+ /// | [0, 2) | [2, 3) | [3, 5) | [5, 6) |
/// |----------|-------------|-------------|----------|
/// | 'I like' | 'truffles,' | '<img> yes' | 'I do.' |
pub range: Range<FragmentIndex>,