diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-07-22 12:49:39 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-07-23 23:09:55 +0200 |
commit | 3d57c22e9cda982923dd184152d3f187910d7b46 (patch) | |
tree | 51d07653ebd19e68626a5a0b442e8dde98c9dbd0 /components/pixels | |
parent | 2ff7cb5a3749d65bb7b7a8f637d8196e316179c9 (diff) | |
download | servo-3d57c22e9cda982923dd184152d3f187910d7b46.tar.gz servo-3d57c22e9cda982923dd184152d3f187910d7b46.zip |
Update euclid.
There are a few canvas2d-related dependencies that haven't updated, but they
only use euclid internally so that's not blocking landing the rest of the
changes.
Given the size of this patch, I think it's useful to get this landed as-is.
Diffstat (limited to 'components/pixels')
-rw-r--r-- | components/pixels/Cargo.toml | 2 | ||||
-rw-r--r-- | components/pixels/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/pixels/Cargo.toml b/components/pixels/Cargo.toml index 0d5c9161b26..1b9f4d97002 100644 --- a/components/pixels/Cargo.toml +++ b/components/pixels/Cargo.toml @@ -11,7 +11,7 @@ name = "pixels" path = "lib.rs" [dependencies] -euclid = "0.19" +euclid = "0.20" malloc_size_of = {path = "../malloc_size_of"} malloc_size_of_derive = "0.1" serde = {version = "1", features = ["derive"]} diff --git a/components/pixels/lib.rs b/components/pixels/lib.rs index 155a53b4b4b..68b22abb11d 100644 --- a/components/pixels/lib.rs +++ b/components/pixels/lib.rs @@ -5,7 +5,7 @@ #[macro_use] extern crate serde; -use euclid::{Point2D, Rect, Size2D}; +use euclid::default::{Point2D, Rect, Size2D}; use malloc_size_of_derive::MallocSizeOf; use std::borrow::Cow; |