aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorOluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com>2024-03-13 18:59:27 +0100
committerGitHub <noreply@github.com>2024-03-13 17:59:27 +0000
commit8cbad332c3fe881f2f2a6628e0abbe01e18ca782 (patch)
treee04fce376a40106a2dad2dd20bcc1d938bc03e80 /components/script/dom
parent0779af71a051d08edf8a6c1ce2fd7d79acba61a7 (diff)
downloadservo-8cbad332c3fe881f2f2a6628e0abbe01e18ca782.tar.gz
servo-8cbad332c3fe881f2f2a6628e0abbe01e18ca782.zip
rusdoc: Fix `idl` warning in components/script/dom/bindings (#31643)
* rusdoc: Add valid domstring link * rustdoc: Replace unused idl link ref
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/bindings/str.rs4
1 files 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