From 62f4e63d641335fa7506843ef50bda488564a4de Mon Sep 17 00:00:00 2001 From: Cheick Keita Date: Wed, 10 Mar 2021 17:16:23 -0800 Subject: [PATCH] build fix and formatting --- src/agent/onefuzz-agent/src/local/common.rs | 1 - src/agent/onefuzz-agent/src/local/tui.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/agent/onefuzz-agent/src/local/common.rs b/src/agent/onefuzz-agent/src/local/common.rs index d6d3a9205c5..8c63572fd24 100644 --- a/src/agent/onefuzz-agent/src/local/common.rs +++ b/src/agent/onefuzz-agent/src/local/common.rs @@ -14,7 +14,6 @@ use std::{ }; use uuid::Uuid; -use backoff::{future::retry, Error as BackoffError, ExponentialBackoff}; use path_absolutize::Absolutize; use std::task::Poll; diff --git a/src/agent/onefuzz-agent/src/local/tui.rs b/src/agent/onefuzz-agent/src/local/tui.rs index fbcea12a14a..d014032cab8 100644 --- a/src/agent/onefuzz-agent/src/local/tui.rs +++ b/src/agent/onefuzz-agent/src/local/tui.rs @@ -53,7 +53,7 @@ trait TakeAvailable { impl TakeAvailable for mpsc::UnboundedReceiver { fn take_available(&mut self, size: usize) -> Result> { let mut result = vec![]; - while let Ok(v ) = self.try_recv() { + while let Ok(v) = self.try_recv() { result.push(v); if result.len() >= size { break;