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). //!