1
Fork 0
rust/src/libserialize
Alex Crichton 48d5fe9ec5 std: Change encode_utf{8,16} to return iterators
Currently these have non-traditional APIs which take a buffer and report how
much was filled in, but they're not necessarily ergonomic to use. Returning an
iterator which *also* exposes an underlying slice shouldn't result in any
performance loss as it's just a lazy version of the same implementation, and
it's also much more ergonomic!

cc #27784
2016-03-22 10:25:30 -07:00
..
Cargo.toml bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
collection_impls.rs std: Stabilize custom hasher support in HashMap 2016-01-26 08:39:07 -08:00
hex.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
json.rs std: Change encode_utf{8,16} to return iterators 2016-03-22 10:25:30 -07:00
lib.rs Auto merge of #31120 - alexcrichton:attribute-deny-warnings, r=brson 2016-01-26 22:10:10 +00:00
serialize.rs some more clippy-based improvements 2015-09-08 00:36:29 +02:00