You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
771 B
20 lines
771 B
diff -upr mime-0.3.5.asciiext/src/lib.rs mime-0.3.5/src/lib.rs
|
|
--- mime-0.3.5.asciiext/src/lib.rs 2017-10-11 13:14:46.000000000 -0700
|
|
+++ mime-0.3.5/src/lib.rs 2018-01-25 20:50:43.497982337 -0800
|
|
@@ -539,6 +539,7 @@ macro_rules! names {
|
|
|
|
#[test]
|
|
fn test_names_macro_consts() {
|
|
+ #[allow(unused_imports)]
|
|
use std::ascii::AsciiExt;
|
|
$(
|
|
assert_eq!($id.source.to_ascii_lowercase(), $id.source);
|
|
diff -upr mime-0.3.5.asciiext/src/parse.rs mime-0.3.5/src/parse.rs
|
|
--- mime-0.3.5.asciiext/src/parse.rs 2017-10-11 12:56:54.000000000 -0700
|
|
+++ mime-0.3.5/src/parse.rs 2018-01-25 20:51:01.185591929 -0800
|
|
@@ -1,3 +1,4 @@
|
|
+#[allow(unused_imports)]
|
|
use std::ascii::AsciiExt;
|
|
use std::error::Error;
|
|
use std::fmt;
|