fix attributes

This commit is contained in:
fakeshadow 2020-10-29 01:48:03 +08:00
parent c6467304a1
commit 4d131ac174
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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();