aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-11-12 22:16:08 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-11-15 17:24:42 +0100
commitbea73951db5a758f78842a0056daccba9d89a9c0 (patch)
tree7072475f19a837d6395acfc23061029eeb7619d2 /components/script/script_thread.rs
parent091feba0ba817709927d1c407f4eb19dc84e57f3 (diff)
downloadservo-bea73951db5a758f78842a0056daccba9d89a9c0.tar.gz
servo-bea73951db5a758f78842a0056daccba9d89a9c0.zip
Use `#![register_tool]` instead of `#![register_attr]`
CC https://github.com/rust-lang/rust/issues/66079
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 20ac88b7bc1..43741209fa1 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -434,7 +434,7 @@ impl OpaqueSender<CommonScriptMsg> for Sender<MainThreadScriptMsg> {
/// The set of all documents managed by this script thread.
#[derive(JSTraceable)]
-#[must_root]
+#[unrooted_must_root_lint::must_root]
pub struct Documents {
map: HashMap<PipelineId, Dom<Document>>,
}