diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-12-22 16:18:34 +0100 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2020-12-22 16:18:34 +0100 |
| commit | ef75761fb1aa5ce04954349a85e89b8cffbf5c42 (patch) | |
| tree | 8d4728a7f6ed56da19a42baf2dace9a7bf6267ed /src/test/codegen/src-hash-algorithm | |
| parent | 75e1acb63a642fa78cb8c382d7462b41fa2b56cd (diff) | |
| download | rust-ef75761fb1aa5ce04954349a85e89b8cffbf5c42.tar.gz rust-ef75761fb1aa5ce04954349a85e89b8cffbf5c42.zip | |
Turn helper method into a closure
`replace_prefix` is currently implemented as a method but has no real relation to the struct it is implemented on. Turn it into a closure and move it into the only method from which it is called.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
