mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Remove unused imports (#965)
This commit is contained in:
parent
b28de95da4
commit
cc9ffcc1ab
2 changed files with 3 additions and 6 deletions
|
@ -18,20 +18,18 @@
|
||||||
//! To use it, just have your service(s) implement the ApiEndpoint trait and
|
//! To use it, just have your service(s) implement the ApiEndpoint trait and
|
||||||
//! register them on a ApiServer.
|
//! register them on a ApiServer.
|
||||||
|
|
||||||
use std::fmt::{self, Display, Formatter};
|
use std::fmt::{self, Display};
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::net::ToSocketAddrs;
|
use std::net::ToSocketAddrs;
|
||||||
use std::string::ToString;
|
use std::string::ToString;
|
||||||
|
|
||||||
use failure::{Backtrace, Context, Fail, ResultExt};
|
use failure::{Backtrace, Context, Fail};
|
||||||
use iron::middleware::Handler;
|
use iron::middleware::Handler;
|
||||||
use iron::prelude::*;
|
use iron::prelude::*;
|
||||||
use iron::{status, Listening};
|
use iron::Listening;
|
||||||
use mount::Mount;
|
use mount::Mount;
|
||||||
use router::Router;
|
use router::Router;
|
||||||
|
|
||||||
use store;
|
|
||||||
|
|
||||||
/// Errors that can be returned by an ApiEndpoint implementation.
|
/// Errors that can be returned by an ApiEndpoint implementation.
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
|
@ -18,7 +18,6 @@ use iron::prelude::*;
|
||||||
use iron::status;
|
use iron::status;
|
||||||
use serde_json;
|
use serde_json;
|
||||||
|
|
||||||
use api;
|
|
||||||
use core::ser;
|
use core::ser;
|
||||||
use failure::{Fail, ResultExt};
|
use failure::{Fail, ResultExt};
|
||||||
use keychain::Keychain;
|
use keychain::Keychain;
|
||||||
|
|
Loading…
Reference in a new issue