summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-11-10 01:08:49 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-22 02:03:35 +0100
commitcc404252616671c045973efee679ace2f9686eb7 (patch)
tree435767a0dd2fae6ba62a5f0644c5b712e7e333da
parentd26c25c2b2fa53c4c356bafa6dd92d5ad3a497a3 (diff)
Remove not needed static lifetime
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/domain/imag-calendar/src/filters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-calendar/src/filters.rs b/bin/domain/imag-calendar/src/filters.rs
index 0ad707fa..d587026b 100644
--- a/bin/domain/imag-calendar/src/filters.rs
+++ b/bin/domain/imag-calendar/src/filters.rs
@@ -66,7 +66,7 @@ pub fn event_is_after<'a>(event: &Event<'a>, after_spec: &NaiveDateTime) -> bool
}
fn try_to_parse_datetime(s: &str) -> Result<NaiveDateTime> {
- const FORMATS : &[&'static str] = &[
+ const FORMATS : &[&str] = &[
"%Y%m%dT%H%M%S",
"%Y%m%dT%H%M%SZ"
];