From c367309a8fc004e47a6d8c0528b82e9d60a5716a Mon Sep 17 00:00:00 2001 From: Abhay Raj Singh Date: Mon, 12 Feb 2024 02:35:33 +0530 Subject: [PATCH] docs: dom binding link fixes (#31311) --- components/script/dom/bindings/mod.rs | 9 +++++---- 1 file 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`](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