about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-28 16:59:07 +0900
committerGitHub <noreply@github.com>2021-04-28 16:59:07 +0900
commit54ad5cb8f493a9233c70d6bffcc2f662ad2231cc (patch)
tree76f4339d214fe353467b267764a35b4827187442 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent3f89ca1a32b666ca5733850ef26af26d9dc27d2e (diff)
parent9051d4073b2dc8e9fdc0061ce3747d5770a9004b (diff)
downloadrust-54ad5cb8f493a9233c70d6bffcc2f662ad2231cc.tar.gz
rust-54ad5cb8f493a9233c70d6bffcc2f662ad2231cc.zip
Rollup merge of #84616 - GuillaumeGomez:fix-empty-dom-toggle, r=jsha
Fix empty dom toggle

Currently, the empty impl blocks have toggles:

![Screenshot from 2021-04-27 15-15-03](https://user-images.githubusercontent.com/3050060/116249703-5ee0d980-a76d-11eb-9e15-738c06e4fb1b.png)

So when you expand it, nothing happens:

![Screenshot from 2021-04-27 15-15-07](https://user-images.githubusercontent.com/3050060/116249746-686a4180-a76d-11eb-8dc1-221ca0ac57c5.png)

So now, in case the impl block is empty, we simply don't generate the details/summary wrapping (which also makes DOM lighter, yeay!):

![Screenshot from 2021-04-27 15-14-15](https://user-images.githubusercontent.com/3050060/116249825-7a4be480-a76d-11eb-9637-b26151311ebd.png)

r? `@jsha`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions