diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-25 23:56:32 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-09-26 09:48:55 +0200 |
commit | 7be32fb2371a14ba61b008a37e79761f66c073c7 (patch) | |
tree | f6ff7b73173ce6e39351199d7a5e67386c73659e /components/script/dom/mod.rs | |
parent | 0e3c54c1911ba2c3bf305ee04f04fcd9bf2fc2fe (diff) | |
download | servo-7be32fb2371a14ba61b008a37e79761f66c073c7.tar.gz servo-7be32fb2371a14ba61b008a37e79761f66c073c7.zip |
Rename JS<T> to Dom<T>
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 5b049c0cb29..8020d832ab9 100644 --- a/components/script/dom/mod.rs +++ b/components/script/dom/mod.rs @@ -31,7 +31,7 @@ //! //! * rooting pointers on the stack: //! the [`Root`](bindings/root/struct.Root.html) smart pointer; -//! * tracing pointers in member fields: the [`JS`](bindings/root/struct.JS.html), +//! * tracing pointers in member fields: the [`Dom`](bindings/root/struct.Dom.html), //! [`MutNullableJS`](bindings/root/struct.MutNullableJS.html) and //! [`MutJS`](bindings/root/struct.MutJS.html) smart pointers and //! [the tracing implementation](bindings/trace/index.html); @@ -44,7 +44,7 @@ //! Rust does not support struct inheritance, as would be used for the //! object-oriented DOM APIs. To work around this issue, Servo stores an //! instance of the superclass in the first field of its subclasses. (Note that -//! it is stored by value, rather than in a smart pointer such as `JS<T>`.) +//! it is stored by value, rather than in a smart pointer such as `Dom<T>`.) //! //! This implies that a pointer to an object can safely be cast to a pointer //! to all its classes. |