mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix some warnings caused by the SM upgrade
This commit is contained in:
parent
e7808c526c
commit
b7301ca06c
13 changed files with 16 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue