remove use std::ascii::AsciiExt
for Rust 1.23
#411
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
remove
use std::ascii::AsciiExt
for rust 1.23In rust 1.23, the
AsciiExt
methods are implemented directly on theconcerned types, so attempting to import
AsciiExt
results in anunused import.
Rust language PR:
rust-lang/rust#44042
PSA:
https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726
This started warning as an unused import on nightly sometime between
2017-11-02 and 2017-11-09:
https://travis-ci.org/exercism/rust/builds/296391447
https://travis-ci.org/exercism/rust/builds/299770403
This started warning on beta exactly when 1.23.0 became Beta (it was
accepted on 1.22.0):
https://travis-ci.org/exercism/rust/builds/303139434
https://travis-ci.org/exercism/rust/builds/306431846
As 1.23 is now stable and our repo disallows warnings on stable, we will
need this.