]> git.lizzy.rs Git - rust.git/commit
std: Bring back half of Add on String
authorAlex Crichton <alex@alexcrichton.com>
Wed, 28 May 2014 04:34:00 +0000 (21:34 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Jun 2014 00:17:09 +0000 (17:17 -0700)
commitf7f95c8f5a6294f161800dbb65a0423bb5248f34
treef99883567070e1eadc6316d4ac96484530553223
parent05ca9f747d62c9385cc142daa3c24a32d32a3f16
std: Bring back half of Add on String

This adds an implementation of Add for String where the rhs is <S: Str>. The
other half of adding strings is where the lhs is <S: Str>, but coherence and
the libcore separation currently prevent that.
src/libcollections/string.rs