1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 14:30:36 +02:00

standardise compiler lints across all crates (#226)

This commit is contained in:
Rob Ede
2020-12-12 23:24:00 +00:00
committed by GitHub
parent 93889776c4
commit 4e43216b99
15 changed files with 49 additions and 14 deletions

View File

@ -5,7 +5,9 @@
//! * `rustls` - TLS acceptor using the `rustls` crate.
//! * `nativetls` - TLS acceptor using the `native-tls` crate.
#![deny(rust_2018_idioms)]
#![deny(rust_2018_idioms, nonstandard_style)]
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
use std::sync::atomic::{AtomicUsize, Ordering};