Skip to content
Prev Previous commit
Next Next commit
cargo fmt with nightly
  • Loading branch information
illicitonion committed Jan 6, 2019
commit 0f253c6e3036ed7027ba67f2e95a22a5e3362643
3 changes: 1 addition & 2 deletions lambda-runtime-client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use hyper::{
};
use serde_derive::Deserialize;
use serde_json;
use tokio::prelude::future::IntoFuture;
use tokio::runtime::TaskExecutor;
use tokio::{prelude::future::IntoFuture, runtime::TaskExecutor};

use crate::error::{ApiError, ErrorResponse, RuntimeApiError};

Expand Down
9 changes: 5 additions & 4 deletions lambda-runtime/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ use std::{error::Error, marker::PhantomData, result};
use lambda_runtime_client::RuntimeClient;
use serde;
use serde_json;
use tokio::prelude::future::{loop_fn, Future, IntoFuture, Loop};
use tokio::runtime::Runtime as TokioRuntime;
use tokio::{
prelude::future::{loop_fn, Future, IntoFuture, Loop},
runtime::Runtime as TokioRuntime,
};

use crate::{
context::Context,
env::{ConfigProvider, EnvConfigProvider, FunctionSettings},
error::{HandlerError, RuntimeError},
};
use std::sync::Arc;
use std::sync::Mutex;
use std::sync::{Arc, Mutex};
use tokio::runtime::TaskExecutor;

const MAX_RETRIES: i8 = 3;
Expand Down