mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix some new warnings
This commit is contained in:
parent
112f1ddeba
commit
1d38bc0419
65 changed files with 179 additions and 175 deletions
|
@ -92,7 +92,7 @@ use void::Void;
|
|||
type VoidPtrToSizeFn = unsafe extern "C" fn(ptr: *const c_void) -> usize;
|
||||
|
||||
/// A closure implementing a stateful predicate on pointers.
|
||||
type VoidPtrToBoolFnMut = FnMut(*const c_void) -> bool;
|
||||
type VoidPtrToBoolFnMut = dyn FnMut(*const c_void) -> bool;
|
||||
|
||||
/// Operations used when measuring heap usage of data structures.
|
||||
pub struct MallocSizeOfOps {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue