diff options
author | Corey Farwell <coreyf@rwell.org> | 2016-12-08 08:43:52 -1000 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2016-12-08 08:50:35 -1000 |
commit | 449f6337d4d42dcc93c015e63bba80068a109513 (patch) | |
tree | 6d1808c4d56f542a89754d514e86e85858655688 /components/script/dom/mod.rs | |
parent | 0fe94a6724a42da8f02a60d1efe18fdfc96885ae (diff) | |
download | servo-449f6337d4d42dcc93c015e63bba80068a109513.tar.gz servo-449f6337d4d42dcc93c015e63bba80068a109513.zip |
Rename `Reflectable` to `DomObject`.
Fixes https://github.com/servo/servo/issues/8473.
Diffstat (limited to 'components/script/dom/mod.rs')
-rw-r--r-- | components/script/dom/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/mod.rs b/components/script/dom/mod.rs index 9a0190cb57e..5bc19eab627 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -126,7 +126,7 @@ //! not allowed. In particular, any mutable fields use `Cell` or `DOMRefCell` //! to manage their mutability. //! -//! `Reflector` and `Reflectable` +//! `Reflector` and `DomObject` //! ============================= //! //! Every DOM object has a `Reflector` as its first (transitive) member field. @@ -136,7 +136,7 @@ //! the DOM object in the reflector, and initializes the pointer to the reflector //! in the `Reflector` field. //! -//! The `Reflectable` trait provides a `reflector()` method that returns the +//! The `DomObject` trait provides a `reflector()` method that returns the //! DOM object's `Reflector`. It is implemented automatically for DOM structs //! through the `#[dom_struct]` attribute. //! |