From 51c9e1433bf139759a41173aa63fa40855a10fac Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Tue, 19 Mar 2019 17:46:48 +0200 Subject: lint --- src/proto.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/proto.rs') diff --git a/src/proto.rs b/src/proto.rs index bfc3cbb..86c7eee 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -3,7 +3,7 @@ // See COPYING. use crate::ip::{Ipv4Net, Ipv6Net}; -use crate::model::{Key, Endpoint}; +use crate::model::{Endpoint, Key}; use serde_derive; use std::time::SystemTime; @@ -94,7 +94,9 @@ mod serde_utc { } fn visit_str(self, s: &str) -> Result { - DateTime::parse_from_rfc3339(s).map_err(de::Error::custom).map(SystemTime::from) + DateTime::parse_from_rfc3339(s) + .map_err(de::Error::custom) + .map(SystemTime::from) } } de.deserialize_str(RFC3339Visitor) -- cgit