summaryrefslogtreecommitdiffstats
path: root/sqv
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-05 17:02:23 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-09 11:52:38 +0100
commit7546d5bdee68f3484211808e8e66002b56d29ac7 (patch)
tree3eba039bc98f7e82c4f396bec86dbe4eb9706818 /sqv
parenta206235113bdb10e0d971c83f070dcf83875c47e (diff)
Reduce use of explicit failure::Fallible.
Diffstat (limited to 'sqv')
-rw-r--r--sqv/src/sqv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs
index 95f90721..831e9945 100644
--- a/sqv/src/sqv.rs
+++ b/sqv/src/sqv.rs
@@ -307,7 +307,7 @@ fn main() {
/// Parses the given string depicting a ISO 8601 timestamp.
fn parse_iso8601(s: &str, pad_date_with: chrono::NaiveTime)
- -> failure::Fallible<DateTime<Utc>>
+ -> Result<DateTime<Utc>>
{
// If you modify this function this function, synchronize the
// changes with the copy in sqv.rs!