Slice patterns are now feature gated.

This commit is contained in:
Huon Wilson 2015-03-29 22:09:15 +11:00
parent 98c5f3a2b1
commit 5bbc668081
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));
} }
} }