Fix warnings in gfx.

This commit is contained in:
Ms2ger 2015-02-13 11:00:20 +01:00
parent 5e999c7d40
commit e25322ce5b
6 changed files with 24 additions and 12 deletions

View file

@ -353,7 +353,7 @@ impl StackingContext {
fn hit_test_in_list<'a,I>(point: Point2D<Au>,
result: &mut Vec<DisplayItemMetadata>,
topmost_only: bool,
mut iterator: I)
iterator: I)
where I: Iterator<Item=&'a DisplayItem> {
for item in iterator {
// TODO(pcwalton): Use a precise algorithm here. This will allow us to properly hit