diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-04-08 10:26:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-08 10:26:13 +0200 |
| commit | 77639c094724af6eb3f861c90ac2338e02764148 (patch) | |
| tree | b777eca41149ee50d3a96204d4fdb94820f68a87 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 131211acd2e5519a0ff3e3e8d5f827cddebb1d8a (diff) | |
| parent | 815f5bbcc53dbb40c11127f26080e0ad9b7dc935 (diff) | |
| download | rust-77639c094724af6eb3f861c90ac2338e02764148.tar.gz rust-77639c094724af6eb3f861c90ac2338e02764148.zip | |
Rollup merge of #110030 - notriddle:notriddle/clean-up-js, r=GuillaumeGomez
rustdoc: clean up JS * Stop checking `func` in `onEach`. It's always hard-coded right at the call site, so there's no point. * Use the ternary operator in a few spots where it makes sense. * No point in making `onEach` store `arr.length` in a variable if it's only used once anyway.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
