Run cargo fmt
This commit is contained in:
parent
8bd5de72ea
commit
f618382a0d
2 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ use tokio::net;
|
|||
use tokio::sync::mpsc;
|
||||
use tokio::time;
|
||||
|
||||
use std::sync::atomic::{self, AtomicBool};
|
||||
use std::sync::Arc;
|
||||
use std::sync::atomic::{self, AtomicBool};
|
||||
use std::thread;
|
||||
|
||||
pub const SERVER_ADDRESS: &str = "127.0.0.1:9167";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use futures::Future;
|
||||
use futures::channel::mpsc;
|
||||
use futures::stream::{self, Stream, StreamExt};
|
||||
use futures::Future;
|
||||
|
||||
pub fn channel<T, F>(f: impl Fn(mpsc::Sender<T>) -> F) -> impl Stream<Item = T>
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue