aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/mod.rs')
-rw-r--r--components/script/dom/bindings/mod.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/script/dom/bindings/mod.rs b/components/script/dom/bindings/mod.rs
index c71d5f322f4..485cf8b3079 100644
--- a/components/script/dom/bindings/mod.rs
+++ b/components/script/dom/bindings/mod.rs
@@ -36,10 +36,11 @@
//! trait is then implemented for `Foo`. (All methods take an `&self`
//! parameter, as pointers to DOM objects can be freely aliased.)
//!
-//! The return type and argument types are determined [as described below]
-//! (#rust-reflections-of-webidl-types).
-//! In addition to those, all methods that are [allowed to throw]
-//! (#throwing-exceptions) will have the return value wrapped in
+//! The return type and argument types are determined
+//! [as described below](#rust-reflections-of-webidl-types).
+//! In addition to those, all methods that are
+//! [allowed to throw](#throwing-exceptions)
+//! will have the return value wrapped in
//! [`Fallible<T>`](error/type.Fallible.html).
//! Methods that use certain WebIDL types like `any` or `object` will get a
//! `*mut JSContext` argument prepended to the argument list. Static methods