diff options
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 4393e6ddc09..9e2c56c8d22 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1046,7 +1046,7 @@ impl<'a> NodeHelpers for &'a Node { /// If the given untrusted node address represents a valid DOM node in the given runtime, /// returns it. #[allow(unsafe_code)] -pub fn from_untrusted_node_address(runtime: *mut JSRuntime, candidate: UntrustedNodeAddress) +pub fn from_untrusted_node_address(_runtime: *mut JSRuntime, candidate: UntrustedNodeAddress) -> Root<Node> { unsafe { // https://github.com/servo/servo/issues/6383 |