aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/traversal.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-02-08 20:03:17 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-08 20:03:27 +0100
commit7c6b03abfeaf97950ee6a9ff8316a9277a5cf069 (patch)
tree743327332930fd9d525c4609022f9798467a395c /components/layout/traversal.rs
parenta819b0b1b609d94e2b7d5a352f1c0d8592874a3c (diff)
downloadservo-7c6b03abfeaf97950ee6a9ff8316a9277a5cf069.tar.gz
servo-7c6b03abfeaf97950ee6a9ff8316a9277a5cf069.zip
Opt-in rather than opt-out to unsafe blocks in layout.
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r--components/layout/traversal.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs
index 6d695ad4a48..c31d4dcde1a 100644
--- a/components/layout/traversal.rs
+++ b/components/layout/traversal.rs
@@ -4,6 +4,8 @@
//! Traversals over the DOM and flow trees, running the layout computations.
+#![allow(unsafe_blocks)]
+
use css::node_style::StyledNode;
use css::matching::{ApplicableDeclarations, MatchMethods, StyleSharingResult};
use construct::FlowConstructor;