Merge pull request #30 from huonw/update

Slice patterns are now feature gated.
This commit is contained in:
Kang Seonghoon 2015-03-30 09:55:03 +09:00
commit c43479bfa7
1 changed files with 1 additions and 1 deletions

View File

@ -267,6 +267,7 @@ Advanced time zone handling is not yet supported (but is planned in 0.3).
#![doc(html_root_url = "https://lifthrasiir.github.io/rust-chrono/")] #![doc(html_root_url = "https://lifthrasiir.github.io/rust-chrono/")]
#![feature(slice_patterns)]
#![feature(core, str_char, std_misc)] // lib stability features as per RFC #507 #![feature(core, str_char, std_misc)] // lib stability features as per RFC #507
#![cfg_attr(test, feature(test))] // ditto #![cfg_attr(test, feature(test))] // ditto
#![deny(missing_docs)] #![deny(missing_docs)]
@ -591,4 +592,3 @@ fn test_readme_doomsday() {
assert!(other_dates.iter().all(|d| d.weekday() == weekday)); assert!(other_dates.iter().all(|d| d.weekday() == weekday));
} }
} }