about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-12-23 00:13:59 +0100
committerGitHub <noreply@github.com>2020-12-23 00:13:59 +0100
commitf711f3ff5f3cf4841c50cbd1c06b83b092c8b174 (patch)
tree3eba3dd91eb98aa0dc093c4b3a0c5274eafc8348 /src/test/codegen
parent5af144ece1f454510fea4d521f0a9a26e4c33612 (diff)
parentef75761fb1aa5ce04954349a85e89b8cffbf5c42 (diff)
downloadrust-f711f3ff5f3cf4841c50cbd1c06b83b092c8b174.tar.gz
rust-f711f3ff5f3cf4841c50cbd1c06b83b092c8b174.zip
Rollup merge of #80299 - LingMan:helper, r=lcnr
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.

`@rustbot` modify labels +C-cleanup +T-compiler
r? `@lcnr`
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions