diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-03-17 12:15:24 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-03-21 17:54:33 +0100 |
| commit | c09b9f937250db0f51b705a3110f8cffdad083bb (patch) | |
| tree | 54b20c17d36bae030cc3c83472d1d402b36ecf3e /src/libcore/tests | |
| parent | cc34ca1c9787fde84116637a0cee92fc5e375e3d (diff) | |
| download | rust-c09b9f937250db0f51b705a3110f8cffdad083bb.tar.gz rust-c09b9f937250db0f51b705a3110f8cffdad083bb.zip | |
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),+)) |
