Fix the span doc typo

Fix the typo in the span API doc.
It explains the `end` of the span as the `start_char` description.
This commit is contained in:
Hidekazu Oiwa 2017-01-17 20:37:14 -08:00 committed by GitHub
parent 300650a6f8
commit 7806ebafd2

View File

@ -25,7 +25,7 @@ p A slice from a #[code Doc] object.
+row
+cell #[code start_char]
+cell int
+cell The character offset for the end of the span.
+cell The character offset for the start of the span.
+row
+cell #[code end_char]