mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
auto merge of #4512 : gutworth/servo/zero-warning, r=jdm
This fixes the following warning: ``` display_list/mod.rs:735:20: 735:30 warning: use of deprecated item: Use `Int::zero()` or `Float::zero()`., #[warn(deprecated)] on by default display_list/mod.rs:735 let zero = Zero::zero(); ^~~~~~~~~~ ```
This commit is contained in:
commit
de3cff0e08
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,7 @@ use text::TextRun;
|
|||
use azure::azure::AzFloat;
|
||||
use collections::dlist::{mod, DList};
|
||||
use geom::{Point2D, Rect, SideOffsets2D, Size2D, Matrix2D};
|
||||
use geom::num::Zero;
|
||||
use libc::uintptr_t;
|
||||
use paint_task::PaintLayer;
|
||||
use servo_msg::compositor_msg::LayerId;
|
||||
|
@ -37,7 +38,6 @@ use servo_util::geometry::{mod, Au, MAX_RECT, ZERO_POINT, ZERO_RECT};
|
|||
use servo_util::range::Range;
|
||||
use servo_util::smallvec::{SmallVec, SmallVec8};
|
||||
use std::fmt;
|
||||
use std::num::Zero;
|
||||
use std::slice::Items;
|
||||
use style::ComputedValues;
|
||||
use style::computed_values::border_style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue