diff options
Diffstat (limited to 'components/plugins/lib.rs')
-rw-r--r-- | components/plugins/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs index a74cbe83f30..614cce94ab3 100644 --- a/components/plugins/lib.rs +++ b/components/plugins/lib.rs @@ -8,7 +8,8 @@ //! //! - `#[privatize]` : Forces all fields in a struct/enum to be private //! - `#[jstraceable]` : Auto-derives an implementation of `JSTraceable` for a struct in the script crate -//! - `#[must_root]` : Prevents data of the marked type from being used on the stack. See the lints module for more details +//! - `#[must_root]` : Prevents data of the marked type from being used on the stack. See the lints module for more +//! details //! - `#[dom_struct]` : Implies `#[privatize]`,`#[jstraceable]`, and `#[must_root]`. //! Use this for structs that correspond to a DOM type |