diff options
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 200ff011bb4..55743bf0003 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -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 |