mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Codegen: Fix typo in doc (#37777)
Fix typo. Testing: No. Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
9a0f2be162
commit
78cd770697
2 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@
|
|||
//! Implementing methods for a DOM object
|
||||
//! =====================================
|
||||
//!
|
||||
//! * `dom::bindings::codegen::Bindings::FooBindings::FooMethods` for methods
|
||||
//! * `dom::bindings::codegen::Bindings::FooBinding::FooMethods` for methods
|
||||
//! defined through IDL;
|
||||
//! * `&self` public methods for public helpers;
|
||||
//! * `&self` methods for private helpers.
|
||||
|
@ -183,7 +183,7 @@
|
|||
//! * defining the DOM struct `Foo` with a `#[dom_struct]` attribute, a
|
||||
//! superclass or `Reflector` member, and other members as appropriate;
|
||||
//! * implementing the
|
||||
//! `dom::bindings::codegen::Bindings::FooBindings::FooMethods` trait for
|
||||
//! `dom::bindings::codegen::Bindings::FooBinding::FooMethods` trait for
|
||||
//! `Foo`;
|
||||
//! * adding/updating the match arm in create_element in
|
||||
//! `components/script/dom/create.rs` (only applicable to new types inheriting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue