about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-05-26 09:10:04 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-26 09:10:04 +1000
commitfa8e910ed915a207f58531b3bb5f3236a5836c4d (patch)
treedaebd0481e8dccbc35b35c6f3b89ffcee6460701 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent581fd271f6adc97999a73f2f06abde7db70f4abb (diff)
downloadrust-fa8e910ed915a207f58531b3bb5f3236a5836c4d.tar.gz
rust-fa8e910ed915a207f58531b3bb5f3236a5836c4d.zip
Simplify `make_href`.
Currently it is passed an `fqp` slice which it calls `to_vec` on and
returns. This is a bit odd. It's better to let the call site clone if
necessary. (One call site does, one does not).
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions