Rust 1.13 does not support elided lifetimes in const.
This commit is contained in:
parent
95f6a2be1c
commit
9991c2b0ed
|
@ -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> {
|
||||
type Item = Item<'a>;
|
||||
|
|
Loading…
Reference in New Issue