From 26e2ef001c9bdf565adead648a04222df5266fea Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 25 Jul 2023 21:07:29 -0700 Subject: [PATCH] Delete deprecated AsciiExt extension trait import This has been superseded by inherent methods since Rust 1.26. --- serde_derive/src/internals/case.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/serde_derive/src/internals/case.rs b/serde_derive/src/internals/case.rs index 554505160..a5f19dc93 100644 --- a/serde_derive/src/internals/case.rs +++ b/serde_derive/src/internals/case.rs @@ -1,10 +1,6 @@ //! Code to convert the Rust-styled field/variant (e.g. `my_field`, `MyType`) to the //! case of the source (e.g. `my-field`, `MY_FIELD`). -// See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726 -#[allow(deprecated, unused_imports)] -use std::ascii::AsciiExt; - use std::fmt::{self, Debug, Display}; use self::RenameRule::*;