summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/etc/libimagutil/src/date.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/etc/libimagutil/src/date.rs b/lib/etc/libimagutil/src/date.rs
index 9ea5a4de..1ad76a59 100644
--- a/lib/etc/libimagutil/src/date.rs
+++ b/lib/etc/libimagutil/src/date.rs
@@ -50,7 +50,7 @@ pub fn datetime_from_string<S>(s: S) -> Result<NaiveDateTime, ParseError>
/// The function returns an `Option<NaiveDateTime>`, so that the user of the function can generate
/// the appropriate error message themselves.
///
-pub fn try_to_parse_datetime_from_string<'a, S, Formats, Format>(s: S, fmts: Formats) -> Option<NaiveDateTime>
+pub fn try_to_parse_datetime_from_string<S, Formats, Format>(s: S, fmts: Formats) -> Option<NaiveDateTime>
where S: AsRef<str>,
Formats: Iterator<Item = Format>,
Format: AsRef<str>