Make range generic

This commit is contained in:
Brendan Zabarauskas 2014-05-07 11:40:32 -07:00
parent 15d3257a29
commit 8c6eb08dcb
10 changed files with 79 additions and 69 deletions

View file

@ -395,7 +395,7 @@ pub struct TextDisplayItem {
pub text_run: Arc<~TextRun>,
/// The range of text within the text run.
pub range: Range,
pub range: Range<uint>,
/// The color of the text.
pub text_color: Color,