diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-21 11:27:05 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-24 01:50:51 +0100 |
commit | 31e9d81c0f8fdfa4bb8ab27fda804b8d424e5378 (patch) | |
tree | 2a60d1308916da48c5c3958572865f48f03c60e3 /components/script/docs | |
parent | 64885c4213c97c818f37026c7071975f299466fb (diff) | |
download | servo-31e9d81c0f8fdfa4bb8ab27fda804b8d424e5378.tar.gz servo-31e9d81c0f8fdfa4bb8ab27fda804b8d424e5378.zip |
Make #[dom_struct] a proc_macro attribute
Diffstat (limited to 'components/script/docs')
-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, |