Fix rustdoc problems (#33458)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-09-14 20:32:41 +02:00 committed by GitHub
parent 97495e45f8
commit ed908f3fd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -2427,8 +2427,8 @@ impl Node {
///
/// # Safety
///
/// Callers should ensure they pass an UntrustedNodeAddress that points to a valid `JSObject`
/// in memory that represents a `Node`.
/// Callers should ensure they pass an UntrustedNodeAddress that points to a valid [`JSObject`]
/// in memory that represents a [`Node`].
#[allow(unsafe_code)]
pub unsafe fn from_untrusted_node_address(candidate: UntrustedNodeAddress) -> &'static Self {
// https://github.com/servo/servo/issues/6383