mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Reorder imports
This commit is contained in:
parent
4a947dd719
commit
9e92eb205a
546 changed files with 1968 additions and 1536 deletions
|
@ -23,7 +23,7 @@ mod platform {
|
|||
|
||||
/// Memory allocation APIs compatible with libc
|
||||
pub mod libc_compat {
|
||||
pub use super::ffi::{malloc, realloc, free};
|
||||
pub use super::ffi::{free, malloc, realloc};
|
||||
}
|
||||
|
||||
pub struct Allocator;
|
||||
|
@ -98,8 +98,8 @@ mod platform {
|
|||
mod platform {
|
||||
extern crate kernel32;
|
||||
|
||||
pub use std::alloc::System as Allocator;
|
||||
use self::kernel32::{GetProcessHeap, HeapSize, HeapValidate};
|
||||
pub use std::alloc::System as Allocator;
|
||||
use std::os::raw::c_void;
|
||||
|
||||
/// Get the size of a heap block.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue