about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/from_u.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-24 08:23:54 +0100
committerGitHub <noreply@github.com>2023-11-24 08:23:54 +0100
commit98bae8195d7ca3d18a0e1cadd942b7e159ab4013 (patch)
tree933c5b4196909e116c82a191cb092e07656ee6aa /tests/rustdoc-js-std/from_u.js
parentb2d6480f536196b8075d5fd451a70fca8f04a3f5 (diff)
parentb77aa74a2d6b0b5cac167a942a7c53931dc715c9 (diff)
downloadrust-98bae8195d7ca3d18a0e1cadd942b7e159ab4013.tar.gz
rust-98bae8195d7ca3d18a0e1cadd942b7e159ab4013.zip
Rollup merge of #118224 - dtolnay:rustdocsortunstable, r=fmease
Sort unstable items last in rustdoc, instead of first

As far as I can tell, this is a bug introduced inadvertently by https://github.com/rust-lang/rust/pull/77817 in Rust 1.49. Older toolchains used to sort unstable items last.

Notice how in the code before that PR, `(Unstable, Stable) => return Ordering::Greater` in src/librustdoc/html/render/mod.rs. Whereas after that PR, `(Unstable, Stable) => return Ordering::Less`.

Compare https://doc.rust-lang.org/1.48.0/std/marker/index.html vs https://doc.rust-lang.org/1.49.0/std/marker/index.html.
Diffstat (limited to 'tests/rustdoc-js-std/from_u.js')
0 files changed, 0 insertions, 0 deletions