about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-30 17:10:48 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-01 19:23:01 +1100
commit2621f7fd9ba97bbbd1b5b1df96184353948e2249 (patch)
treebe6f511534676e6619631dcac0dde196c76ed874 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent26eb6da4e7f19fd1408eac2c67891f3dbfc47e5a (diff)
downloadrust-2621f7fd9ba97bbbd1b5b1df96184353948e2249.tar.gz
rust-2621f7fd9ba97bbbd1b5b1df96184353948e2249.zip
Rework `StringPart`.
When there are two possibilities, both of which use a `String`, it's
nicer to use a struct than an enum. Especially when mapping the contents
into a tuple.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions