mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove reference to helper traits from documentation
This commit is contained in:
parent
c0cff59df8
commit
aa83643507
1 changed files with 2 additions and 8 deletions
|
@ -109,16 +109,10 @@
|
||||||
//! Implementing methods for a DOM object
|
//! 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
|
//! * `dom::bindings::codegen::Bindings::FooBindings::FooMethods` for methods
|
||||||
//! defined through IDL;
|
//! defined through IDL;
|
||||||
//! * `FooHelpers` for public methods;
|
//! * `&self` public methods for public helpers;
|
||||||
//! * `PrivateFooHelpers` for private methods.
|
//! * `&self` methods for private helpers.
|
||||||
//!
|
//!
|
||||||
//! Accessing fields of a DOM object
|
//! Accessing fields of a DOM object
|
||||||
//! ================================
|
//! ================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue