From 9fea2004a4865d01968a46a44f239edfbaa28d10 Mon Sep 17 00:00:00 2001 From: Andrey Kuznetsov Date: Thu, 26 Dec 2019 13:03:49 +0000 Subject: [PATCH] fixed unused warnings in bastion-executor --- bastion-executor/src/blocking.rs | 2 +- bastion-executor/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bastion-executor/src/blocking.rs b/bastion-executor/src/blocking.rs index 2996d800..0978ec3b 100644 --- a/bastion-executor/src/blocking.rs +++ b/bastion-executor/src/blocking.rs @@ -66,7 +66,7 @@ use lightproc::proc_stack::ProcStack; use lightproc::recoverable_handle::RecoverableHandle; use std::future::Future; use std::io::ErrorKind; -use std::iter::{Cycle, Iterator, Repeat}; +use std::iter::Iterator; use crate::placement::CoreId; diff --git a/bastion-executor/src/lib.rs b/bastion-executor/src/lib.rs index 92956990..0a53e8de 100644 --- a/bastion-executor/src/lib.rs +++ b/bastion-executor/src/lib.rs @@ -41,9 +41,10 @@ pub mod pool; pub mod run; pub mod run_queue; pub mod sleepers; -pub mod utils; pub mod worker; +mod utils; + /// /// Prelude of Bastion Executor pub mod prelude {