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>
This commit is contained in:
Samson 2023-09-08 14:11:31 +02:00 committed by GitHub
parent a0cff6a085
commit 711dbbd4af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
274 changed files with 415 additions and 429 deletions

View file

@ -23,7 +23,7 @@ use gfx_traits::{Epoch, FontData};
use image::{DynamicImage, ImageFormat};
use ipc_channel::ipc;
use libc::c_void;
use log::warn;
use log::{debug, error, info, warn};
use msg::constellation_msg::{
PipelineId, PipelineIndex, PipelineNamespaceId, TopLevelBrowsingContextId,
};

View file

@ -4,9 +4,6 @@
#![deny(unsafe_code)]
#[macro_use]
extern crate log;
pub use crate::compositor::IOCompositor;
pub use crate::compositor::ShutdownState;

View file

@ -4,6 +4,7 @@
use self::TouchState::*;
use euclid::{Point2D, Scale, Vector2D};
use log::warn;
use script_traits::{EventResult, TouchId};
use style_traits::DevicePixel;