diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-23 11:55:47 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-05-26 15:09:38 +1000 |
| commit | b9b482e9d9ea18fa5dcb276c704fb9bec57b9e59 (patch) | |
| tree | 4c62c417d46ffca366f6771d958a8099f53fd633 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | f19d40a3d6f3344db34020ade05fc232aeae370a (diff) | |
| download | rust-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
