Skip to content

Commit

Permalink
Silence try!() deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmooney committed May 1, 2020
1 parent 15a82b1 commit 4d3e468
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4d3e468

Please sign in to comment.