From 5bbc668081b3a1218193949c5047210d99596613 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 29 Mar 2015 22:09:15 +1100 Subject: [PATCH] Slice patterns are now feature gated. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 7b92ea0..0b016b0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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/")] +#![feature(slice_patterns)] #![feature(core, str_char, std_misc)] // lib stability features as per RFC #507 #![cfg_attr(test, feature(test))] // ditto #![deny(missing_docs)] @@ -591,4 +592,3 @@ fn test_readme_doomsday() { assert!(other_dates.iter().all(|d| d.weekday() == weekday)); } } -