mirror of
https://github.com/servo/servo.git
synced 2025-06-14 11:24:33 +00:00
Upgrade to rustc 1.27.0-nightly (056f589fb 2018-04-07)
This commit is contained in:
parent
cb754b2627
commit
3d6614e314
5 changed files with 10 additions and 14 deletions
|
@ -208,7 +208,7 @@ impl DOMString {
|
|||
let first_non_whitespace = self.0.find(|ref c| !char::is_ascii_whitespace(c)).unwrap();
|
||||
|
||||
self.0.truncate(last_non_whitespace);
|
||||
let _ = self.0.splice(0..first_non_whitespace, "");
|
||||
let _ = self.0.replace_range(0..first_non_whitespace, "");
|
||||
}
|
||||
|
||||
/// Validates this `DOMString` is a time string according to
|
||||
|
|
|
@ -4,13 +4,10 @@
|
|||
|
||||
#![cfg_attr(feature = "unstable", feature(core_intrinsics))]
|
||||
#![cfg_attr(feature = "unstable", feature(on_unimplemented))]
|
||||
#![feature(ascii_ctype)]
|
||||
#![feature(conservative_impl_trait)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(mpsc_select)]
|
||||
#![feature(plugin)]
|
||||
#![feature(proc_macro)]
|
||||
#![feature(splice)]
|
||||
#![feature(string_retain)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue