aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-11-06 13:38:52 -0500
committerGitHub <noreply@github.com>2018-11-06 13:38:52 -0500
commit6878dbbbeaa59b21a7b3608b6d6a911e88c1e443 (patch)
treef4a13f7d59c7f72c51e30755d1097595764f96c0 /components/layout_thread
parent8df38f5e29d0005b792d403c3c54d35748448100 (diff)
parent8757cf5bc084ee23db643e283ca7e9fef143d810 (diff)
downloadservo-6878dbbbeaa59b21a7b3608b6d6a911e88c1e443.tar.gz
servo-6878dbbbeaa59b21a7b3608b6d6a911e88c1e443.zip
Auto merge of #22086 - servo:2018-without-stylo, r=SimonSapin
Switch some crates to the 2018 edition This is the subset of https://github.com/servo/servo/pull/22083 that doesn’t affect Gecko at all, so it isn’t blocked. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22086) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout_thread')
-rw-r--r--components/layout_thread/Cargo.toml1
-rw-r--r--components/layout_thread/lib.rs4
2 files changed, 3 insertions, 2 deletions
diff --git a/components/layout_thread/Cargo.toml b/components/layout_thread/Cargo.toml
index 23fbf91e677..30369ad2780 100644
--- a/components/layout_thread/Cargo.toml
+++ b/components/layout_thread/Cargo.toml
@@ -3,6 +3,7 @@ name = "layout_thread"
version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
+edition = "2018"
publish = false
[lib]
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 3057701f360..ad0e7cac3ef 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -55,8 +55,8 @@ extern crate webrender_api;
mod dom_wrapper;
use app_units::Au;
-use dom_wrapper::{ServoLayoutElement, ServoLayoutDocument, ServoLayoutNode};
-use dom_wrapper::drop_style_and_layout_data;
+use crate::dom_wrapper::{ServoLayoutElement, ServoLayoutDocument, ServoLayoutNode};
+use crate::dom_wrapper::drop_style_and_layout_data;
use embedder_traits::resources::{self, Resource};
use euclid::{Point2D, Rect, Size2D, TypedScale, TypedSize2D};
use fnv::FnvHashMap;