about summary refs log tree commit diff
path: root/compiler/rustc_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-21 20:06:07 +0200
committerGitHub <noreply@github.com>2021-05-21 20:06:07 +0200
commit3f0bc5c23ba537be1f88eab5520711b3f400efcc (patch)
treef50a7b2ba5905f1773ec1b92833f2e27e194f169 /compiler/rustc_llvm/src
parent51a99eb603aaa87a4ef7eeaacebf4c7b01fe62dc (diff)
parentaee054d05d8b795d35c0b448a4b731b6507aa459 (diff)
downloadrust-3f0bc5c23ba537be1f88eab5520711b3f400efcc.tar.gz
rust-3f0bc5c23ba537be1f88eab5520711b3f400efcc.zip
Rollup merge of #85548 - GuillaumeGomez:remove-dead-js, r=jsha
Remove dead toggle JS code

Explanations on how I got there: I randomly saw `adjustToggle` while browsing through code, checked where it was called, put a `debugger;` instruction in it and checked on all pages while playing with settings and toggles. The breakpoint was never triggered. I then looked at `collapseNonInherent` (its grand-parent). In there, the breakpoint was triggered so I look at what was being done and in fact... nothing. So I simply removed it all, re-ran the tests and play with the UI. Everything is working as expected.

Better double check in case I forgot to check a case though, but if nothing has been left out, then it's a great cleanup once again. :)

r? ``@jsha``
Diffstat (limited to 'compiler/rustc_llvm/src')
0 files changed, 0 insertions, 0 deletions