about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2021-12-15 08:32:21 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2021-12-15 13:30:26 +1100
commit75f6118ad1920487117c5eef361d2edd817bb27f (patch)
tree2f9cd0c155fef272a4c2eac5d0bc0907b33721ce /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parente05ad7f8199f0da52892d96f37c72581f1f56e87 (diff)
downloadrust-75f6118ad1920487117c5eef361d2edd817bb27f.tar.gz
rust-75f6118ad1920487117c5eef361d2edd817bb27f.zip
Remove `SymbolStr`.
By changing `as_str()` to take `&self` instead of `self`, we can just
return `&str`. We're still lying about lifetimes, but it's a smaller lie
than before, where `SymbolStr` contained a (fake) `&'static str`!
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions