diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2023-09-08 14:11:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 12:11:31 +0000 |
commit | 711dbbd4afe161fc334db198357d814e99e5ac57 (patch) | |
tree | 5c0e3a6a18dd26c9e39a47a790c6ec36f0ff8d4d /components/script_layout_interface/lib.rs | |
parent | a0cff6a0858e675b805a71238ab96fa295a271f8 (diff) | |
download | servo-711dbbd4afe161fc334db198357d814e99e5ac57.tar.gz servo-711dbbd4afe161fc334db198357d814e99e5ac57.zip |
remove `extern crate` (#30311)
* remove extern crate
* Update components/script_plugins/lib.rs
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
---------
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script_layout_interface/lib.rs')
-rw-r--r-- | components/script_layout_interface/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs index 375377262d7..9b8fbd7e26f 100644 --- a/components/script_layout_interface/lib.rs +++ b/components/script_layout_interface/lib.rs @@ -8,11 +8,6 @@ #![deny(unsafe_code)] -#[macro_use] -extern crate html5ever; -#[macro_use] -extern crate malloc_size_of_derive; - pub mod message; pub mod rpc; pub mod wrapper_traits; @@ -21,6 +16,7 @@ use atomic_refcell::AtomicRefCell; use canvas_traits::canvas::{CanvasId, CanvasMsg}; use ipc_channel::ipc::IpcSender; use libc::c_void; +use malloc_size_of_derive::MallocSizeOf; use net_traits::image_cache::PendingImageId; use script_traits::UntrustedNodeAddress; use servo_url::{ImmutableOrigin, ServoUrl}; |