diff options
| author | bors <bors@rust-lang.org> | 2013-08-18 12:41:59 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-18 12:41:59 -0700 |
| commit | e185b049af214cc7900beaae557a12863f4b3ce3 (patch) | |
| tree | 4347d5393e9a4df2b053b03007397973a6760939 /src/libsyntax/parse | |
| parent | 88bd2155d780d2d7d976ff271b6bb25a9b03e119 (diff) | |
| parent | bfa1331cd7fb4a8a74ede969abe22004d0232184 (diff) | |
| download | rust-e185b049af214cc7900beaae557a12863f4b3ce3.tar.gz rust-e185b049af214cc7900beaae557a12863f4b3ce3.zip | |
auto merge of #8545 : blake2-ppc/rust/iterbytes, r=alexcrichton
Address issue #5257, for example these values all had the same hash value:
("aaa", "bbb", "ccc")
("aaab", "bb", "ccc")
("aaabbb", "", "ccc")
IterBytes for &[A] now includes the length, before calling iter_bytes on
each element.
IterBytes for &str is now terminated by a byte that does not appear in
UTF-8. This way only one more byte is processed when hashing strings.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
