Rust 1.13 does not support elided lifetimes in const.

This commit is contained in:
Brandon W Maister 2018-04-25 08:33:41 -04:00
parent 95f6a2be1c
commit 9991c2b0ed
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ impl<'a> StrftimeItems<'a> {
} }
} }
const HAVE_ALTERNATES: &str = "z"; const HAVE_ALTERNATES: &'static str = "z";
impl<'a> Iterator for StrftimeItems<'a> { impl<'a> Iterator for StrftimeItems<'a> {
type Item = Item<'a>; type Item = Item<'a>;