mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Use #![register_tool] instead of #![register_attr]
CC https://github.com/rust-lang/rust/issues/66079
This commit is contained in:
@@ -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>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user