diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-27 02:12:05 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-27 16:59:04 +0200 |
commit | aa83643507c7b5022852c06826dfc1cbc48d3a6f (patch) | |
tree | 8dda09f8af13663c9b766256e9c9db598b0f77b4 /components/script/dom/mod.rs | |
parent | c0cff59df895f2ed495bbd29ff5c8c8aec6ed453 (diff) | |
download | servo-aa83643507c7b5022852c06826dfc1cbc48d3a6f.tar.gz servo-aa83643507c7b5022852c06826dfc1cbc48d3a6f.zip |
Remove reference to helper traits from documentation
Diffstat (limited to 'components/script/dom/mod.rs')
-rw-r--r-- | components/script/dom/mod.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs index 663d14784a6..e9bc0716217 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -109,16 +109,10 @@ //! Implementing methods for a DOM object //! ===================================== //! -//! XXX JSRef no longer exists - should we remove the *Helpers traits? -//! In order to ensure that DOM objects are rooted when they are called, we -//! require that all methods are implemented for `JSRef<'a, Foo>`. This means -//! that all methods are defined on traits. Conventionally, those traits are -//! called -//! //! * `dom::bindings::codegen::Bindings::FooBindings::FooMethods` for methods //! defined through IDL; -//! * `FooHelpers` for public methods; -//! * `PrivateFooHelpers` for private methods. +//! * `&self` public methods for public helpers; +//! * `&self` methods for private helpers. //! //! Accessing fields of a DOM object //! ================================ |