diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-03 21:11:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 21:11:34 +0100 |
| commit | 2c6c7f8ef2029712e82c96ecd614973faf537bd1 (patch) | |
| tree | 847303f78f1c9a069ca283cc18dc3b7ee14497c3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e38f1152beb2bb97156bcfef5fd8c9bfee43ad34 (diff) | |
| parent | b866debf3cdbc30f71b0800684236213ebbb2d8c (diff) | |
| download | rust-2c6c7f8ef2029712e82c96ecd614973faf537bd1.tar.gz rust-2c6c7f8ef2029712e82c96ecd614973faf537bd1.zip | |
Rollup merge of #136411 - dtolnay:fnptr, r=notriddle
Omit argument names from function pointers that do not have argument names This matches the style used for the vast majority of function pointer types in real-world code, in my experience. Prefixing `_: ` to every argument does not improve clarity. **Before:** <img src="https://github.com/user-attachments/assets/f07efa8b-d57e-4897-aa97-40db7d207862"> **After:** <img src="https://github.com/user-attachments/assets/8405e08b-d6d2-4904-bcc3-a3eb866cecf0">
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
