diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-03 21:44:21 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2020-11-10 21:58:09 +0100 |
| commit | f534b75f050f2daca87c15f6c8d04bf9dc5b68a6 (patch) | |
| tree | 955d68e656130dbaf65cd0ac2f220c9911c2ed0a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | ccbce1d3b2b9f74619d19c6d3377d20dd06e0050 (diff) | |
| download | rust-f534b75f050f2daca87c15f6c8d04bf9dc5b68a6.tar.gz rust-f534b75f050f2daca87c15f6c8d04bf9dc5b68a6.zip | |
Use Vec<u8> for LOCAL_STD{OUT,ERR} instead of dyn Write.
It was only ever used with Vec<u8> anyway. This simplifies some things. - It no longer needs to be flushed, because that's a no-op anyway for a Vec<u8>. - Writing to a Vec<u8> never fails. - No #[cfg(test)] code is needed anymore to use `realstd` instead of `std`, because Vec comes from alloc, not std (like Write).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
