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 | b4afb38f2f506e9f4d558449e2e303340d4fdb35 (patch) | |
| tree | bfe83cb5041b17c091435c989e12fbd90e354811 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 0167c5303f681eacef0e15aa3315ab601438a3e5 (diff) | |
| download | rust-b4afb38f2f506e9f4d558449e2e303340d4fdb35.tar.gz rust-b4afb38f2f506e9f4d558449e2e303340d4fdb35.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
