aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/mod.rs
diff options
context:
space:
mode:
authorAbhay Raj Singh <rathod.sahaab@gmail.com>2024-02-12 02:35:33 +0530
committerGitHub <noreply@github.com>2024-02-11 21:05:33 +0000
commitc367309a8fc004e47a6d8c0528b82e9d60a5716a (patch)
tree03f3ac943fd50ccceaa0256df097f3343834da94 /components/script/dom/bindings/mod.rs
parentcdafaa57a019aff4535b0cbe8cbb01c4d05a9faa (diff)
downloadservo-c367309a8fc004e47a6d8c0528b82e9d60a5716a.tar.gz
servo-c367309a8fc004e47a6d8c0528b82e9d60a5716a.zip
docs: dom binding link fixes (#31311)
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