diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2021-12-15 08:32:21 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2021-12-15 13:30:26 +1100 |
| commit | a89a063ba05e2f1fc608cbccf42378f25de298a7 (patch) | |
| tree | 23180e84281c2c206beaa7ce04a1ede1406f8807 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 41c48bd390c6aa43d9567bc11710d67ab41930fc (diff) | |
| download | rust-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
