aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--components/layout/inline.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..3ff2dd9c7b3
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+tests/* linguist-vendored
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index a4040e6dedf..c55a035f346 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>,