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:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-02-15 18:06:39 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2020-02-15 18:17:51 -0500
commitbd12cd3d2fe2fd69cff05d4b710c8020dea2cdf7 (patch)
treeb3c40b22aa5dc50853794108093a4efb447954d7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent61d9231ff2604a0467987042d9ebf9ff9ea739b5 (diff)
downloadrust-bd12cd3d2fe2fd69cff05d4b710c8020dea2cdf7.tar.gz
rust-bd12cd3d2fe2fd69cff05d4b710c8020dea2cdf7.zip
Formatter::sign is &'static str
The contents were always UTF-8 anyway, and &str has an equivalent representation
to &[u8], so this should not affect performance while removing unsafety at
edges.

It may be worth exploring a further adjustment that stores a single byte
(instead of 16) as the contents are always "", "-", or "+".
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions