mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #7468 - JoshTheGoldfish:Issue7460, r=jdm
Making test-tidy check that = have space after them For issue #7460. Need to ensure compatibility with #7390. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7468) <!-- Reviewable:end -->
This commit is contained in:
commit
15de679f11
23 changed files with 127 additions and 111 deletions
|
@ -25,7 +25,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;
|
||||
|
||||
|
@ -35,7 +35,7 @@ use servo::net_traits::hosts;
|
|||
use servo::util::opts;
|
||||
use std::rc::Rc;
|
||||
|
||||
#[cfg(target_os="android")]
|
||||
#[cfg(target_os = "android")]
|
||||
use std::borrow::ToOwned;
|
||||
|
||||
fn main() {
|
||||
|
@ -128,16 +128,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(),
|
||||
|
@ -145,7 +145,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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue