about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-10-17 19:46:14 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-10-21 11:33:05 +0200
commit5acf26b97e32f1e0e7153ef769d2d541002818e3 (patch)
tree34d6e0cf7d549efc7c4433045371a44f9c05e795 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent45a45c6e60835e15c92374be1f832bc756fc8b1a (diff)
downloadrust-5acf26b97e32f1e0e7153ef769d2d541002818e3.tar.gz
rust-5acf26b97e32f1e0e7153ef769d2d541002818e3.zip
Make `ty::print::Printer` take `&mut self` instead of `self`
This simplifies the code by removing all the `self` assignments and
makes the flow of data clearer - always into the printer.
Especially in v0 mangling, which already used  `&mut self` in some
places, it gets a lot more uniform.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions