diff options
| author | Julian Wollersberger <julian.wollersberger@gmx.at> | 2020-10-09 11:12:54 +0200 |
|---|---|---|
| committer | Julian Wollersberger <julian.wollersberger@gmx.at> | 2020-10-09 11:12:54 +0200 |
| commit | bd49ded308f7243d1ba3170ea1bd0d5855d0544b (patch) | |
| tree | fc049ee4322a30a08cc0e97a6fe70365752cda26 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | d890e64dff3fd2c28635c60cc9315648dd46c8f7 (diff) | |
| download | rust-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
