about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2025-01-04 09:36:07 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2025-02-15 17:02:54 +0100
commit71763208216e44901c4865119458edc8e6e466c1 (patch)
tree960c8e42cad6e4aa57b1cc4dac2e736384c91e65 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent69fd5e4059f8840f09f60269bcda23dcdcb77151 (diff)
downloadrust-71763208216e44901c4865119458edc8e6e466c1.tar.gz
rust-71763208216e44901c4865119458edc8e6e466c1.zip
tests: Use `as *const _` instead of `.as_ptr()` in ptr fmt test
Because `.as_ptr()` changes the type of the pointer (e.g. `&[u8]`
becomes `*const u8` instead of `*const [u8]`), and it can't be expected
that different types will be formatted the same way.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions