about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-13 19:50:13 +0000
committerbors <bors@rust-lang.org>2018-03-13 19:50:13 +0000
commitc29085761b0bf5b9add4bd008268651feae495bd (patch)
tree8ec81769ef8db276645bebb7c7788d9e3527f740 /src/liballoc
parent8c4ff22a2d745097197c659ef9e3b04b8ceeb070 (diff)
parent1a16271d1cc64e89f6c0acc7803b9d6fa25bf131 (diff)
downloadrust-c29085761b0bf5b9add4bd008268651feae495bd.tar.gz
rust-c29085761b0bf5b9add4bd008268651feae495bd.zip
Auto merge of #48735 - 1011X:master, r=alexcrichton
Move ascii::escape_default to libcore

As requested in #46409, the `ascii::escape_default` method has been added to the core library. All I did was copy over the `std::ascii` module file, remove the (redundant) `AsciiExt` trait, and change some of the documentation to match. None of the tests were changed.

I wasn't sure how to handle the annotations. For `EscapeDefault` and `escape_default()`, I changed them to `#[unstable(feature = "core_ascii", issue = "46409")]`. Is that alright? Or should I leave them as they were?
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions