mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Replace unsafe_blocks by unsafe_code.
This commit is contained in:
parent
4eb26065ac
commit
3479d3fa7f
53 changed files with 151 additions and 57 deletions
|
@ -132,7 +132,7 @@ impl TimerManager {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unsafe_blocks)]
|
||||
#[allow(unsafe_code)]
|
||||
pub fn set_timeout_or_interval(&self,
|
||||
callback: TimerCallback,
|
||||
arguments: Vec<JSVal>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue