diff options
| author | Michael Howell <michael@notriddle.com> | 2023-04-06 14:53:29 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-04-06 16:25:38 -0700 |
| commit | 815f5bbcc53dbb40c11127f26080e0ad9b7dc935 (patch) | |
| tree | bcdfafdba8550c7d6309f8c2f12bb61fa686e629 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | de74dab880447f5227030b261dbd0f2bc4f32dba (diff) | |
| download | rust-815f5bbcc53dbb40c11127f26080e0ad9b7dc935.tar.gz rust-815f5bbcc53dbb40c11127f26080e0ad9b7dc935.zip | |
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
