about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-04-02 13:09:49 -0500
committerbinarycat <binarycat@envs.net>2025-04-02 13:18:48 -0500
commit9f8d3d0bc9057ecc9de715a5cf65d97dc67da766 (patch)
tree95502079a8540b2ed61380c173c84c7d3baa00f5 /compiler/rustc_mir_transform/src/coverage/spans.rs
parentf05683639d64dc26e51f63d97a0ba3cd812dc374 (diff)
downloadrust-9f8d3d0bc9057ecc9de715a5cf65d97dc67da766.tar.gz
rust-9f8d3d0bc9057ecc9de715a5cf65d97dc67da766.zip
settings.js: refactor settingsBlurHandler
changes:
* Add type signature
* Add null checks
* getHelpButton and getSettingsButton are only called once,
  which should marginally improve performance due to less queries.

unfortunatly 2 @ts-expect-error was needed,
as typescript is unaware the EventTarget is likely an Element.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions