Skip to content

Commit 6014087

Browse files
committed
tidy: squash deprecation warnings for try! macro
We should bump our MSRV soon, but until we do, there's no point in having these plastered everywhere.
1 parent db7a2e5 commit 6014087

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// For the 'try!' macro, until we bump MSRV past 1.12.
2+
#![allow(deprecated)]
3+
14
use std::env;
25
use std::ffi::OsString;
36
use std::io::{self, Write};

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ cases.
6767
[`Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
6868
*/
6969

70+
// For the 'try!' macro, until we bump MSRV past 1.12.
71+
#![allow(deprecated)]
72+
7073
#![deny(missing_docs)]
7174
#![cfg_attr(not(feature = "std"), no_std)]
7275

0 commit comments

Comments
 (0)