mirror of https://github.com/fafhrd91/actix-net
fix attributes
This commit is contained in:
parent
c6467304a1
commit
4d131ac174
|
@ -1,4 +1,5 @@
|
||||||
//! A runtime implementation that runs everything on the current thread.
|
//! A runtime implementation that runs everything on the current thread.
|
||||||
|
#![deny(rust_2018_idioms, warnings)]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
|
|
||||||
use std::future::Future;
|
use std::future::Future;
|
||||||
|
|
|
@ -90,7 +90,7 @@ impl TestServer {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.workers(1)
|
.workers(1)
|
||||||
.disable_signals()
|
.disable_signals()
|
||||||
.start()
|
.start();
|
||||||
});
|
});
|
||||||
|
|
||||||
tx.send((System::current(), local_addr)).unwrap();
|
tx.send((System::current(), local_addr)).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue