diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-12-22 16:30:07 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-12-23 16:52:03 +0100 |
commit | a43fe33cc1e7b43fe8841af39cc1d5c78eb6b518 (patch) | |
tree | 50404df9eff9bd63b9dc5cda173a6d9247cdb26d | |
parent | caa83f0d9d20426e18023c90d0a96771e2d2e2aa (diff) |
Remove unused lifetime
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | lib/etc/libimagutil/src/date.rs | 2 |
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> |