aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mod.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2016-02-27 11:22:26 -0500
committerJosh Matthews <josh@joshmatthews.net>2016-02-27 11:22:26 -0500
commitbec25a1759ad1e5c79c9d3a7112f90994a3730a5 (patch)
treeab995fc2f00005e16e727eb98667e42242c00c34 /components/script/dom/mod.rs
parent4e244b16dd3c050a8d6b24ee9209caf116462317 (diff)
downloadservo-bec25a1759ad1e5c79c9d3a7112f90994a3730a5.tar.gz
servo-bec25a1759ad1e5c79c9d3a7112f90994a3730a5.zip
Fix some errors in the DOM documentation.
Diffstat (limited to 'components/script/dom/mod.rs')
-rw-r--r--components/script/dom/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs
index 3fdf140a0ef..3656055feb0 100644
--- a/components/script/dom/mod.rs
+++ b/components/script/dom/mod.rs
@@ -186,9 +186,10 @@
//! superclass or `Reflector` member, and other members as appropriate;
//! * implementing the
//! `dom::bindings::codegen::Bindings::FooBindings::FooMethods` trait for
-//! `&'a Foo`;
+//! `Foo`;
//! * adding/updating the match arm in create_element in
-//! `components/script/dom/create.rs` (only applicable to new `HTMLElement`s)
+//! `components/script/dom/create.rs` (only applicable to new types inheriting
+//! from `HTMLElement`)
//!
//! More information is available in the [bindings module](bindings/index.html).
//!