diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-01 11:39:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-01 11:39:25 +0200 |
| commit | 064b7041c509d5004a5e7b027f56202e1eb13167 (patch) | |
| tree | bd5b5982ebbefbca002841f3cdec2d8f71b52169 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 59cc53e6e708e9b9e86822c1b4d69f28f6c45eae (diff) | |
| parent | 1b946106b7955d3dcde26719b9b62a5a2c4b78fe (diff) | |
| download | rust-064b7041c509d5004a5e7b027f56202e1eb13167.tar.gz rust-064b7041c509d5004a5e7b027f56202e1eb13167.zip | |
Rollup merge of #63410 - johnterickson:master, r=joshtriplett
Update BufWriter example to include call to flush() I was playing with a writing a Huffman encoder/decoder and was getting weird corruptions and truncations. I finally realized it was was because `BufWriter` was swallowing write errors 😬. I've found Rust to generally be explicit and err on the safe side, so I definitely found this unintuitive and not "rustic". https://twitter.com/johnterickson/status/1159514988123312128
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
