aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/lib.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-14 14:44:12 +0200
committerGitHub <noreply@github.com>2021-05-14 14:44:12 +0200
commit40a6aad6b91bbe9f297ead2684af7109df97313f (patch)
tree0bc2e83a406724bfc50b962dc04d1e6f3d69e0eb /components/script_plugins/lib.rs
parent5245f9ff272586875e1c1b849ae096228ea306a8 (diff)
downloadservo-40a6aad6b91bbe9f297ead2684af7109df97313f.tar.gz
servo-40a6aad6b91bbe9f297ead2684af7109df97313f.zip
Update doc comment for script_plugins/lib.rs
script_plugins no longer provides any macros. It currently only provides the must_root lint.
Diffstat (limited to 'components/script_plugins/lib.rs')
-rw-r--r--components/script_plugins/lib.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/components/script_plugins/lib.rs b/components/script_plugins/lib.rs
index 926c5a04b03..0a4f70c5c58 100644
--- a/components/script_plugins/lib.rs
+++ b/components/script_plugins/lib.rs
@@ -4,14 +4,8 @@
//! Servo's compiler plugin/macro crate
//!
-//! Attributes this crate provides:
-//!
-//! - `#[derive(DenyPublicFields)]` : Forces all fields in a struct/enum to be private
-//! - `#[derive(JSTraceable)]` : Auto-derives an implementation of `JSTraceable` for a struct in the script crate
-//! - `#[unrooted_must_root_lint::must_root]` : Prevents data of the marked type from being used on the stack.
-//! See the lints module for more details
-//! - `#[dom_struct]` : Implies #[derive(JSTraceable, DenyPublicFields)]`, and `#[unrooted_must_root_lint::must_root]`.
-//! Use this for structs that correspond to a DOM type
+//! This crate provides the `#[unrooted_must_root_lint::must_root]` lint. This lint prevents data
+//! of the marked type from being used on the stack. See the source for more details.
#![deny(unsafe_code)]
#![feature(plugin)]