From bec25a1759ad1e5c79c9d3a7112f90994a3730a5 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Sat, 27 Feb 2016 11:22:26 -0500 Subject: [PATCH] Fix some errors in the DOM documentation. --- components/script/dom/mod.rs | 5 +++-- 1 file 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). //!