about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorMateusz Gacek <96mateusz.gacek@gmail.com>2021-03-11 23:47:15 -0800
committerMateusz Gacek <96mateusz.gacek@gmail.com>2021-03-11 23:54:50 -0800
commit2547edb84272aeb3d01e2b61640a9107c01b281b (patch)
treec8e5b6a3e6e04d88ec3131ca6e8131d8d9325756 /src/test/codegen/src-hash-algorithm
parent6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42 (diff)
downloadrust-2547edb84272aeb3d01e2b61640a9107c01b281b.tar.gz
rust-2547edb84272aeb3d01e2b61640a9107c01b281b.zip
wrong_self_convention: fix lint in case of `to_*_mut` method
When a method starts with `to_` and ends with `_mut`, it should expect a `&mut self` parameter,
otherwise `&self`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions