From 4d3e46872a333d2452008dc74ca95b87898cd894 Mon Sep 17 00:00:00 2001 From: Patrick Mooney Date: Fri, 1 May 2020 14:59:58 -0500 Subject: [PATCH] Silence try!() deprecation warnings --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 023ff1c..f62325b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,6 +41,9 @@ html_root_url = "https://doc.rust-lang.org/net2-rs")] #![deny(missing_docs, warnings)] +// Silence warnings about deprecated try!() usage +#![allow(deprecated)] + #![cfg_attr(target_os = "wasi", feature(wasi_ext))] #[cfg(any(target_os = "redox", target_os = "wasi", unix))] extern crate libc;