Skip to content
Myr

Delete deprecated AsciiExt extension trait import

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This has been superseded by inherent methods since Rust 1.26.

authored by David Tolnay · committed by David Tolnay · parent 30f79b3 · Browse files · 1 file+0 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:serde_derive/src/internals/case.rs-4 removed
1//! Code to convert the Rust-styled field/variant (e.g. `my_field`, `MyType`) to the2//! case of the source (e.g. `my-field`, `MY_FIELD`).34// See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/137265#[allow(deprecated, unused_imports)]6use std::ascii::AsciiExt;74use std::fmt::{self, Debug, Display};56use self::RenameRule::*;7
186 unmodified lines