diff options
Diffstat (limited to 'components/script/docs/JS-Servos-only-GC.md')
-rw-r--r-- | components/script/docs/JS-Servos-only-GC.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/docs/JS-Servos-only-GC.md b/components/script/docs/JS-Servos-only-GC.md index e2ca71dad8b..e5549a61063 100644 --- a/components/script/docs/JS-Servos-only-GC.md +++ b/components/script/docs/JS-Servos-only-GC.md @@ -138,6 +138,8 @@ Let's look at [Servo's implementation][document-rs] of the DOM's [document-mdn]: https://developer.mozilla.org/en-US/docs/Web/API/document ```rust +use dom_struct::dom_struct; + #[dom_struct] pub struct Document { node: Node, |