diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-03-14 15:23:35 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-03-15 12:02:45 +0100 |
commit | ec1f7206628f5ec2b81e5ea4fa9a9918f3220e3d (patch) | |
tree | c0ae7620f7e3320cfa6337955506238f5f55bc70 /components/net_traits/lib.rs | |
parent | a862384841cb6e8ff43f627a59b67c4f5189b81b (diff) | |
download | servo-ec1f7206628f5ec2b81e5ea4fa9a9918f3220e3d.tar.gz servo-ec1f7206628f5ec2b81e5ea4fa9a9918f3220e3d.zip |
Use lazy_static for HOST_TABLE.
This might change behaviour if the file is changed between Servo startup and
the moment HOST_TABLE is first accessed. I don't think we care.
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r-- | components/net_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index 975ab684e4b..1bb6221ebd2 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -16,6 +16,8 @@ extern crate hyper; extern crate image as piston_image; extern crate ipc_channel; #[macro_use] +extern crate lazy_static; +#[macro_use] extern crate log; extern crate msg; extern crate serde; |