Remove use of now unneeded 'AsciiExt' trait

This commit is contained in:
messense 2017-11-23 12:08:05 +08:00
parent e5bf656cbc
commit e7a7b3d5a0
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
4 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,11 @@
Changes
-------
master
^^^^^^^^^^^^^^^^^
* Rustup to 1.23.0-nightly 2017-11-07, Remove use of now unneeded 'AsciiExt' trait
0.2.2 (09-26-2017)
^^^^^^^^^^^^^^^^^^

View File

@ -17,8 +17,8 @@ Supported Python versions:
Supported Rust version:
* Rust 1.22.0-nightly 2017-09-30 or later
* On Windows, we require rustc 1.22.0-nightly 2017-09-30
* Rust 1.23.0-nightly 2017-11-07 or later
* On Windows, we require rustc 1.23.0-nightly 2017-11-07
## Usage

View File

@ -10,8 +10,8 @@ use regex::Regex;
use version_check::{supports_features, is_min_version, is_min_date};
// Specifies the minimum nightly version needed to compile pyo3.
const MIN_DATE: &'static str = "2017-09-30";
const MIN_VERSION: &'static str = "1.22.0-nightly";
const MIN_DATE: &'static str = "2017-11-07";
const MIN_VERSION: &'static str = "1.23.0-nightly";
#[derive(Debug)]
struct PythonVersion {

View File

@ -3,7 +3,6 @@
// based on Daniel Grunwald's https://github.com/dgrunwald/rust-cpython
use std::{mem, str, char};
use std::ascii::AsciiExt;
use std::borrow::Cow;
use python::Python;