about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDropDemBits <r3usrlnd@gmail.com>2023-07-06 22:31:28 -0400
committerDropDemBits <r3usrlnd@gmail.com>2023-07-07 20:08:32 -0400
commit2eb506462ef2baa7e6e63c0ef1ae7af1a998c750 (patch)
tree229b8146c1acff2a5dc72170378aaf5738ef5a1d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent09a3bd58995079111dd59c0bd677521cceb28581 (diff)
downloadrust-2eb506462ef2baa7e6e63c0ef1ae7af1a998c750.tar.gz
rust-2eb506462ef2baa7e6e63c0ef1ae7af1a998c750.zip
refactor: simplify `generate_delegate_method`
Can actually split out adding the functions from  getting the impl to
update or create thanks to being able to refer to the impl ast node.

FIXME Context:
Unfortunately we can't adjust the indentation of the newly added function
inside of `ast::AssocItemList::add_item` since for some reason the `todo!()`
placeholder generated by `add_missing_impl_members` and
`replace_derive_with_manual_impl` gets indented weirdly.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions