Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
build fix and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chkeita committed Mar 11, 2021
1 parent ac83547 commit 62f4e63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/agent/onefuzz-agent/src/local/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/agent/onefuzz-agent/src/local/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ trait TakeAvailable<T> {
impl<T: Send + Sync> TakeAvailable<T> for mpsc::UnboundedReceiver<T> {
fn take_available(&mut self, size: usize) -> Result<Vec<T>> {
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;
Expand Down

0 comments on commit 62f4e63

Please sign in to comment.