mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
chore: apply unreachable_pub and missing_debug_implementations to all crates (#1424)
This commit is contained in:
@@ -52,6 +52,9 @@ mod shutdown;
|
||||
mod write;
|
||||
mod write_all;
|
||||
|
||||
#[allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/57411
|
||||
pub use self::async_buf_read_ext::AsyncBufReadExt;
|
||||
#[allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/57411
|
||||
pub use self::async_read_ext::AsyncReadExt;
|
||||
#[allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/57411
|
||||
pub use self::async_write_ext::AsyncWriteExt;
|
||||
|
||||
+6
-1
@@ -1,5 +1,10 @@
|
||||
#![doc(html_root_url = "https://docs.rs/tokio-io/0.2.0-alpha.1")]
|
||||
#![warn(missing_debug_implementations, missing_docs, rust_2018_idioms)]
|
||||
#![warn(
|
||||
missing_debug_implementations,
|
||||
missing_docs,
|
||||
rust_2018_idioms,
|
||||
unreachable_pub
|
||||
)]
|
||||
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
|
||||
|
||||
//! Core I/O traits and combinators when working with Tokio.
|
||||
|
||||
Reference in New Issue
Block a user