mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Fix warnings in gfx.
This commit is contained in:
parent
5e999c7d40
commit
e25322ce5b
6 changed files with 24 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue