From 8cbad332c3fe881f2f2a6628e0abbe01e18ca782 Mon Sep 17 00:00:00 2001 From: Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:59:27 +0100 Subject: [PATCH] rusdoc: Fix `idl` warning in components/script/dom/bindings (#31643) * rusdoc: Add valid domstring link * rustdoc: Replace unused idl link ref --- components/script/dom/bindings/str.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/dom/bindings/str.rs b/components/script/dom/bindings/str.rs index f97306784ed..38dbfde38cf 100644 --- a/components/script/dom/bindings/str.rs +++ b/components/script/dom/bindings/str.rs @@ -151,9 +151,9 @@ pub fn is_token(s: &[u8]) -> bool { /// A DOMString. /// -/// This type corresponds to the [`DOMString`](idl) type in WebIDL. +/// This type corresponds to the [`DOMString`] type in WebIDL. /// -/// [idl]: https://heycam.github.io/webidl/#idl-DOMString +/// [`DOMString`]: https://webidl.spec.whatwg.org/#idl-DOMString /// /// Conceptually, a DOMString has the same value space as a JavaScript String, /// i.e., an array of 16-bit *code units* representing UTF-16, potentially with