diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-10-17 19:46:14 +0200 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-10-21 11:33:05 +0200 |
| commit | 5acf26b97e32f1e0e7153ef769d2d541002818e3 (patch) | |
| tree | 34d6e0cf7d549efc7c4433045371a44f9c05e795 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 45a45c6e60835e15c92374be1f832bc756fc8b1a (diff) | |
| download | rust-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
