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-23 11:55:47 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-05-26 15:09:38 +1000
commitb9b482e9d9ea18fa5dcb276c704fb9bec57b9e59 (patch)
tree4c62c417d46ffca366f6771d958a8099f53fd633 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parentf19d40a3d6f3344db34020ade05fc232aeae370a (diff)
downloadrust-b9b482e9d9ea18fa5dcb276c704fb9bec57b9e59.tar.gz
rust-b9b482e9d9ea18fa5dcb276c704fb9bec57b9e59.zip
Simplify `make_href`.
It never fails, so it doesn't need to return `Result`. And the
`ItemType` in the result is just a copy of the one passed in via the
`shortty` arg, so it can also be removed.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions