mirror of
https://github.com/servo/servo.git
synced 2025-10-15 07:50:20 +01:00
Make range generic
This commit is contained in:
parent
15d3257a29
commit
8c6eb08dcb
10 changed files with 79 additions and 69 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue