mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc ba2f13ef0 2015-02-04
This commit is contained in:
parent
bc6882bdef
commit
d5dd1d658e
136 changed files with 1091 additions and 878 deletions
|
@ -13,7 +13,7 @@ use layers::geometry::DevicePixel;
|
|||
use getopts;
|
||||
use std::collections::HashSet;
|
||||
use std::cmp;
|
||||
use std::io;
|
||||
use std::old_io as io;
|
||||
use std::mem;
|
||||
use std::os;
|
||||
use std::ptr;
|
||||
|
@ -219,11 +219,11 @@ pub fn from_cmdline_args(args: &[String]) -> bool {
|
|||
return false;
|
||||
};
|
||||
|
||||
let mut debug_options = HashSet::new();
|
||||
let debug_string = match opt_match.opt_str("Z") {
|
||||
Some(string) => string,
|
||||
None => String::new()
|
||||
};
|
||||
let mut debug_options = HashSet::new();
|
||||
for split in debug_string.as_slice().split(',') {
|
||||
debug_options.insert(split.clone());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue