parent
bfd62c3df4
commit
3bab41f35e
@ -1 +1,2 @@
|
|||||||
/unicase-2.1.0.crate
|
/unicase-2.1.0.crate
|
||||||
|
/unicase-2.2.0.crate
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
From dfd4936eb09ecc6cd5c5d79254aa6fdfe35a4667 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Josh Stone <jistone@redhat.com>
|
|
||||||
Date: Wed, 16 May 2018 16:29:24 -0700
|
|
||||||
Subject: [PATCH] Allow the deprecated AsciiExt
|
|
||||||
|
|
||||||
---
|
|
||||||
src/ascii.rs | 2 +-
|
|
||||||
src/lib.rs | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/ascii.rs b/src/ascii.rs
|
|
||||||
index 745ea04bbcec..885e2703fed9 100644
|
|
||||||
--- a/src/ascii.rs
|
|
||||||
+++ b/src/ascii.rs
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#[allow(unused)]
|
|
||||||
+#[allow(deprecated, unused)]
|
|
||||||
use std::ascii::AsciiExt;
|
|
||||||
#[cfg(__unicase__iter_cmp)]
|
|
||||||
use std::cmp::Ordering;
|
|
||||||
diff --git a/src/lib.rs b/src/lib.rs
|
|
||||||
index 5290d50cbde7..5998fb1b8ccc 100644
|
|
||||||
--- a/src/lib.rs
|
|
||||||
+++ b/src/lib.rs
|
|
||||||
@@ -111,7 +111,7 @@ impl<S: AsRef<str>> UniCase<S> {
|
|
||||||
///
|
|
||||||
/// Note: This scans the text to determine if it is all ASCII or not.
|
|
||||||
pub fn new(s: S) -> UniCase<S> {
|
|
||||||
- #[allow(unused)]
|
|
||||||
+ #[allow(deprecated, unused)]
|
|
||||||
use std::ascii::AsciiExt;
|
|
||||||
if s.as_ref().is_ascii() {
|
|
||||||
UniCase(Encoding::Ascii(Ascii(s)))
|
|
||||||
--
|
|
||||||
2.17.0
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (unicase-2.1.0.crate) = 422a3424266e262e283ca5af6247ec393670af8e214c4e7d1c389bc827c7572c57ea865449a7d6a834d56cda0ee13a2bd5f3985087cae2369e612f239e8498a7
|
SHA512 (unicase-2.2.0.crate) = 7aad01e881c18536d1f758303661d9ddeaecdccd13c7e41ae2f11f7d1030fe36dd164234aa1b4a9ef3c0e4dd847f451423a80b68e80c17663286b9c803de20c7
|
||||||
|
Loading…
Reference in new issue