aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mod.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-08-27 02:12:05 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-08-27 16:59:04 +0200
commitaa83643507c7b5022852c06826dfc1cbc48d3a6f (patch)
tree8dda09f8af13663c9b766256e9c9db598b0f77b4 /components/script/dom/mod.rs
parentc0cff59df895f2ed495bbd29ff5c8c8aec6ed453 (diff)
downloadservo-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.rs10
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
//! ================================