Skip to content

Commit 7612975

Browse files
author
Markus Westerlind
committed
Suppress warnings about using AsciiExt
1 parent 3553294 commit 7612975

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

idna/src/punycode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
1616
use std::u32;
1717
use std::char;
18+
#[allow(unused_imports, deprecated)]
1819
use std::ascii::AsciiExt;
1920

2021
// Bootstring parameters for Punycode

idna/src/uts46.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
use self::Mapping::*;
1313
use punycode;
14+
#[allow(unused_imports, deprecated)]
1415
use std::ascii::AsciiExt;
1516
use std::cmp::Ordering::{Equal, Less, Greater};
1617
use unicode_bidi::{BidiClass, bidi_class};

src/parser.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9+
#[allow(unused_imports, deprecated)]
910
use std::ascii::AsciiExt;
11+
1012
use std::error::Error;
1113
use std::fmt::{self, Formatter, Write};
1214
use std::str;

0 commit comments

Comments
 (0)