From 5f2b6dcb6ff2a0066e3673398f4050cc3dd4aafc Mon Sep 17 00:00:00 2001 From: Patrick Haun Date: Fri, 7 Dec 2018 10:01:44 +0100 Subject: [PATCH] [chore] cargo fmt --- src/elasticsearch.rs | 2 +- src/gatekeeper.rs | 2 +- src/problem.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/elasticsearch.rs b/src/elasticsearch.rs index fcba771..43b454d 100644 --- a/src/elasticsearch.rs +++ b/src/elasticsearch.rs @@ -5,11 +5,11 @@ use bytes::Bytes; use futures::stream; use serde::de::{MapAccess, Visitor}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; +use serde_derive::{Deserialize, Serialize}; use serde_json::json; use serde_json::to_vec; use std::collections::HashMap; use std::fmt; -use serde_derive::{Serialize, Deserialize}; #[derive(Clone, Debug, Serialize, Deserialize, PartialEq)] #[serde(untagged)] diff --git a/src/gatekeeper.rs b/src/gatekeeper.rs index 6bb507a..3e7b397 100644 --- a/src/gatekeeper.rs +++ b/src/gatekeeper.rs @@ -5,9 +5,9 @@ use actix::{Actor, ActorFuture, ActorResponse, Context, Handler, Message, WrapFu use actix_web::client; use futures::Future; use log::error; +use serde_derive::{Deserialize, Serialize}; use serde_json::{Map, Value}; use std::time::{Duration, SystemTime, UNIX_EPOCH}; -use serde_derive::{Serialize, Deserialize}; #[derive(Clone, Debug, Serialize, Deserialize)] pub struct Token { diff --git a/src/problem.rs b/src/problem.rs index b6cb18a..5e87832 100644 --- a/src/problem.rs +++ b/src/problem.rs @@ -1,9 +1,9 @@ use actix; use actix_web; use log::error; +use serde_derive::{Deserialize, Serialize}; use serde_json; use std; -use serde_derive::{Serialize, Deserialize}; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)] pub struct Problem {