Tidy up imports

This commit is contained in:
Floris Bruynooghe
2021-01-31 12:30:36 +01:00
parent 002ea8ed98
commit 5ee4bb58cd
3 changed files with 20 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
use std::ops::Deref;
use async_std::channel::{bounded as channel, Receiver, Sender, TrySendError};
use async_std::channel::{self, Receiver, Sender, TrySendError};
use async_std::path::PathBuf;
use strum::EnumProperty;
@@ -18,7 +18,7 @@ pub struct Events {
impl Default for Events {
fn default() -> Self {
let (sender, receiver) = channel(1_000);
let (sender, receiver) = channel::bounded(1_000);
Self { receiver, sender }
}