rust/src/libstd
Daniel Micay 85c2c2e38c implement Writer for Vec<u8>
The trait has an obvious, sensible implementation directly on vectors so
the MemWriter wrapper is unnecessary. This will halt the trend towards
providing all of the vector methods on MemWriter along with eliminating
the noise caused by conversions between the two types. It also provides
the useful default Writer methods on Vec<u8>.

After the type is removed and code has been migrated, it would make
sense to add a new implementation of MemWriter with seeking support. The
simple use cases can be covered with vectors alone, and ones with the
need for seeks can use a new MemWriter implementation.
2014-11-18 01:09:46 -05:00
..
collections rollup merge of #19038: jayelm/fixed-typos 2014-11-18 00:24:08 +01:00
io implement Writer for Vec<u8> 2014-11-18 01:09:46 -05:00
num Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
path Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rand Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rt implement Writer for Vec<u8> 2014-11-18 01:09:46 -05:00
sync Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
sys Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
time Remove bogus Duration::span test 2014-11-17 11:26:48 -08:00
ascii.rs Move IntoString to collections::string 2014-11-16 12:41:55 +11:00
bitflags.rs Repair various cases where values of distinct types were being operated 2014-11-05 09:15:28 -05:00
c_vec.rs bubble up out-of-memory errors from liballoc 2014-11-01 19:23:20 -04:00
dynamic_lib.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
error.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
failure.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
fmt.rs implement Writer for Vec<u8> 2014-11-18 01:09:46 -05:00
hash.rs DSTify Hash 2014-10-31 07:25:34 -05:00
lib.rs libcore: add borrow module 2014-11-17 11:26:30 -08:00
macros.rs implement Writer for Vec<u8> 2014-11-18 01:09:46 -05:00
os.rs rollup merge of #19038: jayelm/fixed-typos 2014-11-18 00:24:08 +01:00
prelude.rs Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
rtdeps.rs Fix spelling errors and capitalization. 2014-09-03 23:10:38 -04:00
task.rs Move ToString to collections::string 2014-11-16 12:41:55 +11:00