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

address clippy warnings

This commit is contained in:
Rob Ede
2020-12-27 20:53:19 +00:00
parent f9fcf56d5c
commit 8c9ea43e23
4 changed files with 25 additions and 19 deletions

View File

@ -63,6 +63,7 @@ async fn test_start() {
let _ = sys.stop();
}
#[allow(clippy::unnecessary_wraps)]
#[cfg(feature = "openssl")]
fn ssl_acceptor() -> std::io::Result<SslAcceptorBuilder> {
use open_ssl::ssl::{SslAcceptor, SslFiletype, SslMethod};