diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-11-26 01:23:11 +0100 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-11-28 03:11:08 +0100 |
commit | 6e7de62b38a04e614c60e864c8d100bf3e72304f (patch) | |
tree | de97525c5e08f1fe84691b6da5b1a03a033fc960 /components/servo/main.rs | |
parent | f96e8ce9e8c0a2c9de9574f538718defdcd93c11 (diff) | |
download | servo-6e7de62b38a04e614c60e864c8d100bf3e72304f.tar.gz servo-6e7de62b38a04e614c60e864c8d100bf3e72304f.zip |
Add check up on extern crate order and sort extern crates alphabetically
Diffstat (limited to 'components/servo/main.rs')
-rw-r--r-- | components/servo/main.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs index 437df310832..8616dc445c7 100644 --- a/components/servo/main.rs +++ b/components/servo/main.rs @@ -20,20 +20,19 @@ #[cfg(target_os = "android")] #[macro_use] extern crate android_glue; +extern crate env_logger; +extern crate gleam; // The window backed by glutin extern crate glutin_app as app; -extern crate env_logger; #[cfg(target_os = "android")] extern crate libc; #[macro_use] extern crate log; +extern crate offscreen_gl_context; // The Servo engine extern crate servo; extern crate time; -extern crate gleam; -extern crate offscreen_gl_context; - use gleam::gl; use offscreen_gl_context::GLContext; use servo::Browser; @@ -222,8 +221,8 @@ android_start!(main); #[cfg(target_os = "android")] mod android { - extern crate libc; extern crate android_glue; + extern crate libc; use self::libc::c_int; use std::borrow::ToOwned; |