]> git.lizzy.rs Git - rust.git/commit
Auto merge of #32314 - alexcrichton:ascii-fun, r=aturon
authorbors <bors@rust-lang.org>
Sat, 19 Mar 2016 16:39:26 +0000 (09:39 -0700)
committerbors <bors@rust-lang.org>
Sat, 19 Mar 2016 16:39:26 +0000 (09:39 -0700)
commit151be09333b53a761c847107bc659769632ae6c6
tree12940eee73c624d9d022a9c98685af741508062f
parent7c66a89849b2d0025121a0898c4ab298da8814bf
parentaf65d81490b7df820af6db89f77f0e68e40cb4b0
Auto merge of #32314 - alexcrichton:ascii-fun, r=aturon

std: Revert addition of `into_ascii_*` methods

The addition of these methods in #31335 required adding impls of the trait for
the `String` and `Vec<T>` types. This unfortunately caused a regression (#32074)
in type inference for using these methods which the libs team has decided to not
push forward with. These methods were stabilized in #32020 which was intended to
get backported to beta, but the backport hasn't happened just yet. This commit
reverts both the addition and stabilization of these methods.

One proposed method of handling this, in #32076, was to move the methods to an
extra trait to avoid conflicts with type inference. After some discussion,
however, the libs team concluded that we probably want to reevaluate what we're
doing here, so discussion will continue on the tracking issue, #27809.

Closes #32074