diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-11-23 17:00:37 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-11-28 15:17:45 +1100 |
| commit | 8cfc8153da71c599ba6e118279d366b74638057e (patch) | |
| tree | 85eb61282cf859796b07ec94cc996462145d220c /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 8c6bf2bee7914fd94f8ae5ec96234e8a2ce51958 (diff) | |
| download | rust-8cfc8153da71c599ba6e118279d366b74638057e.tar.gz rust-8cfc8153da71c599ba6e118279d366b74638057e.zip | |
Remove `Lit::from_included_bytes`.
`Lit::from_included_bytes` calls `Lit::from_lit_kind`, but the two call sites only need the resulting `token::Lit`, not the full `ast::Lit`. This commit changes those call sites to use `LitKind::to_token_lit`, which means `from_included_bytes` can be removed.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
