about summary refs log tree commit diff
path: root/src/test/codegen/binary-search-index-no-bound-check.rs
diff options
context:
space:
mode:
authorfee1-dead <ent3rm4n@gmail.com>2022-09-26 09:27:38 +0800
committerGitHub <noreply@github.com>2022-09-26 09:27:38 +0800
commita7d45de3227c5cbba9c89e4ee76ed8929030cd72 (patch)
tree549997e25770d00fb07e9f671f9e90962cd57c1d /src/test/codegen/binary-search-index-no-bound-check.rs
parentbeb224084da8a5ee261775be03f25da3832ad890 (diff)
parenta50081e102c72642c87e27ab23ed07f4c9c8efc9 (diff)
downloadrust-a7d45de3227c5cbba9c89e4ee76ed8929030cd72.tar.gz
rust-a7d45de3227c5cbba9c89e4ee76ed8929030cd72.zip
Rollup merge of #102280 - notriddle:notriddle/band, r=GuillaumeGomez
rustdoc: clean up `.out-of-band`/`.in-band` CSS

|        | method | impl
|--------|--------|------
| before | ![image](https://user-images.githubusercontent.com/1593513/192164603-dea9befb-0f5f-4bd5-a44d-1f8328e27955.png) | ![image](https://user-images.githubusercontent.com/1593513/192164642-06f958cb-8fd5-4b73-bdb7-d2778f358f80.png)
| after  | ![image](https://user-images.githubusercontent.com/1593513/192164612-f72ee8db-c87c-477c-99e8-283b1cf0c14b.png) | ![image](https://user-images.githubusercontent.com/1593513/192164653-8e628dc3-5bf3-4ce8-829b-06e27a90fe06.png)

* Remove the `float: right` fallback from the main header, which hasn't been needed since IE11 support was dropped.

* Remove `in-band` from low-level headers, which hasn't been needed since `.rightside` switched to `float: right` in https://github.com/rust-lang/rust/commit/593d6d1cb15c55c88319470dabb40126c7b7f1e2

* Remove unreachable `.in-band > code, .in-band > .code-header` CSS, since the `in-band` class was attached to the `code-header` itself, not nested directly below it.

* Use `rem` instead of `em` for code header margins.

* This results in a slight change in spacing around impls and item-info, but since it makes it more consistent with the way methods are presented, it's probably fine.

Preview: http://notriddle.com/notriddle-rustdoc-demos/band/std/fs/struct.File.html
Diffstat (limited to 'src/test/codegen/binary-search-index-no-bound-check.rs')
0 files changed, 0 insertions, 0 deletions