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
commita89a063ba05e2f1fc608cbccf42378f25de298a7 (patch)
tree23180e84281c2c206beaa7ce04a1ede1406f8807 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent41c48bd390c6aa43d9567bc11710d67ab41930fc (diff)
downloadrust-a89a063ba05e2f1fc608cbccf42378f25de298a7.tar.gz
rust-a89a063ba05e2f1fc608cbccf42378f25de298a7.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