mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove usage of various unsafe keyword
This commit is contained in:
parent
78034a90d0
commit
6c26518f61
3 changed files with 17 additions and 16 deletions
|
@ -50,7 +50,7 @@ fn main() {
|
|||
let mut phf = File::create(&phf).unwrap();
|
||||
write!(
|
||||
&mut phf,
|
||||
"pub static MAP: phf::Map<&'static [u8], unsafe fn(JSContext, HandleObject)> = "
|
||||
"pub static MAP: phf::Map<&'static [u8], fn(JSContext, HandleObject)> = "
|
||||
)
|
||||
.unwrap();
|
||||
map.build(&mut phf).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue