diff options
| author | kennytm <kennytm@gmail.com> | 2018-03-22 17:51:24 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-03-22 22:43:36 +0800 |
| commit | 245f4c4631401c9a25ed62e8f75b97607b3b38bb (patch) | |
| tree | 9beec82c52cefbfa386a5b944033e2ea4fa7aaf3 /src/libcore/tests | |
| parent | 08526c8a9de581fccbc5db9f8c4a6d9db301c1c1 (diff) | |
| parent | c09b9f937250db0f51b705a3110f8cffdad083bb (diff) | |
| download | rust-245f4c4631401c9a25ed62e8f75b97607b3b38bb.tar.gz rust-245f4c4631401c9a25ed62e8f75b97607b3b38bb.zip | |
Rollup merge of #49109 - SimonSapin:deprecate-asciiext, r=alexcrichton
Deprecate the AsciiExt trait in favor of inherent methods The trait and some of its methods are stable and will remain. Some of the newer methods are unstable and can be removed later. Fixes https://github.com/rust-lang/rust/issues/39658
Diffstat (limited to 'src/libcore/tests')
| -rw-r--r-- | src/libcore/tests/ascii.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/tests/ascii.rs b/src/libcore/tests/ascii.rs index 4d43067ad2c..950222dbcfa 100644 --- a/src/libcore/tests/ascii.rs +++ b/src/libcore/tests/ascii.rs @@ -9,7 +9,6 @@ // except according to those terms. use core::char::from_u32; -use std::ascii::AsciiExt; #[test] fn test_is_ascii() { @@ -143,8 +142,6 @@ macro_rules! assert_all { stringify!($what), b); } } - assert!($str.$what()); - assert!($str.as_bytes().$what()); )+ }}; ($what:ident, $($str:tt),+,) => (assert_all!($what,$($str),+)) |
