about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJulian Wollersberger <julian.wollersberger@gmx.at>2020-10-09 11:12:54 +0200
committerJulian Wollersberger <julian.wollersberger@gmx.at>2020-10-09 11:12:54 +0200
commitbd49ded308f7243d1ba3170ea1bd0d5855d0544b (patch)
treefc049ee4322a30a08cc0e97a6fe70365752cda26 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentd890e64dff3fd2c28635c60cc9315648dd46c8f7 (diff)
downloadrust-bd49ded308f7243d1ba3170ea1bd0d5855d0544b.tar.gz
rust-bd49ded308f7243d1ba3170ea1bd0d5855d0544b.zip
Noticed a potential bug in `eat_while()`: it doesn't account for number of UTF8 bytes.
Fixed it by inlining it in the two places where the count is used and simplified the logic there.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions