about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-18 12:41:59 -0700
committerbors <bors@rust-lang.org>2013-08-18 12:41:59 -0700
commite185b049af214cc7900beaae557a12863f4b3ce3 (patch)
tree4347d5393e9a4df2b053b03007397973a6760939 /src/libsyntax/parse
parent88bd2155d780d2d7d976ff271b6bb25a9b03e119 (diff)
parentbfa1331cd7fb4a8a74ede969abe22004d0232184 (diff)
downloadrust-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