make test-tidy check that = have space after them

This commit is contained in:
erneyja 2015-08-30 22:20:38 -04:00
parent ccb8e46557
commit 17663315dd
23 changed files with 127 additions and 111 deletions

View file

@ -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()