mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Stop allowing unused_unsafe.
This commit is contained in:
parent
fd68091491
commit
f0d749a544
2 changed files with 1 additions and 12 deletions
|
@ -590,9 +590,7 @@ impl PrevSiblingOrFreeCount {
|
|||
}
|
||||
|
||||
unsafe fn as_free_count(&self) -> &AtomicUsize {
|
||||
unsafe {
|
||||
mem::transmute(&self.0)
|
||||
}
|
||||
mem::transmute(&self.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue