aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/servo/main.rs')
-rw-r--r--components/servo/main.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs
index e96703026fe..f7c8495cc6f 100644
--- a/components/servo/main.rs
+++ b/components/servo/main.rs
@@ -31,7 +31,7 @@ extern crate glutin_app as app;
extern crate time;
extern crate env_logger;
-#[cfg(target_os="android")]
+#[cfg(target_os = "android")]
#[macro_use]
extern crate android_glue;
@@ -41,7 +41,7 @@ use servo::Browser;
use std::rc::Rc;
use util::opts;
-#[cfg(target_os="android")]
+#[cfg(target_os = "android")]
use std::borrow::ToOwned;
fn main() {
@@ -134,16 +134,16 @@ impl app::NestedEventLoopListener for BrowserWrapper {
}
}
-#[cfg(target_os="android")]
+#[cfg(target_os = "android")]
fn setup_logging() {
android::setup_logging();
}
-#[cfg(not(target_os="android"))]
+#[cfg(not(target_os = "android"))]
fn setup_logging() {
}
-#[cfg(target_os="android")]
+#[cfg(target_os = "android")]
fn get_args() -> Vec<String> {
vec![
"servo".to_owned(),
@@ -151,7 +151,7 @@ fn get_args() -> Vec<String> {
]
}
-#[cfg(not(target_os="android"))]
+#[cfg(not(target_os = "android"))]
fn get_args() -> Vec<String> {
use std::env;
env::args().collect()