Simplify util::range::RangeIndex to always require std::num::Int,

and fix remaining warnings.
This commit is contained in:
Simon Sapin 2014-12-18 11:34:23 +00:00
parent e689f9c160
commit bf4480bb79
3 changed files with 29 additions and 44 deletions

View file

@ -28,7 +28,7 @@ use gfx::text::glyph::CharIndex;
use servo_util::geometry::Au;
use servo_util::logical_geometry::{LogicalRect, LogicalSize, WritingMode};
use servo_util::opts;
use servo_util::range::{IntRangeIndex, Range, RangeIndex};
use servo_util::range::{Range, RangeIndex};
use servo_util::arc_ptr_eq;
use std::cmp::max;
use std::fmt;