about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-10 17:55:40 +0100
committerGitHub <noreply@github.com>2021-03-10 17:55:40 +0100
commit9ac57b15208351ff2d23bf9a1ce45dc7d469b618 (patch)
tree24a7a2a7471a829bd1c6ff455dad7d96ba96d0ec /compiler/rustc_mir/src/transform/coverage/debug.rs
parent759204ffc417f5d1e6b56ca38d28e7c9881ce09a (diff)
parent28135b79d71e4256f9f0ac76aa8c6c49b3127d09 (diff)
downloadrust-9ac57b15208351ff2d23bf9a1ce45dc7d469b618.tar.gz
rust-9ac57b15208351ff2d23bf9a1ce45dc7d469b618.zip
Rollup merge of #82807 - notriddle:cleanup-js, r=jyn514
rustdoc: Remove redundant enableSearchInput function

enableSearchInput was called from two places:

- setupSearchLoader
- addSearchOptions, which is itself called from setupSearchLoader only

This commit can safely get rid of the addSearchOptions calls entirely, and since the setupSearchLoader call is immediately preceded by other method calls on search_input, there's no need to check if it's set.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions