rusdoc: Fix idl warning in components/script/dom/bindings (#31643)

* rusdoc: Add valid domstring link

* rustdoc: Replace unused idl link ref
This commit is contained in:
Oluwatobi Sofela 2024-03-13 18:59:27 +01:00 committed by GitHub
parent 0779af71a0
commit 8cbad332c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -151,9 +151,9 @@ pub fn is_token(s: &[u8]) -> bool {
/// A DOMString. /// 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, /// 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 /// i.e., an array of 16-bit *code units* representing UTF-16, potentially with