about summary refs log tree commit diff
path: root/src/librustdoc/html/render/tests.rs
AgeCommit message (Collapse)AuthorLines
2025-04-10make `AllTypes::print` return `impl fmt::Display`Yotam Ofek-2/+1
2025-02-12Nuke `Buffer` abstraction from `librustdoc` 💣Yotam Ofek-3/+3
2024-07-24rustdoc: clean up and fix ord violations in item sortingMichael Howell-1/+1
Based on e3fdafc263a4a705a3bec1a6865a4d011b2ec7c5 with a few minor changes: - The name sorting function is changed to follow the [version sort] from the style guide - the `cmp` function is redesigned to more obviously make a partial order, by always return `cmp()` of the same variable as the `!=` above [version sort]: https://doc.rust-lang.org/nightly/style-guide/index.html#sorting Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2021-03-04Corrected imports for render tests and mod filesNicholas-Baron-1/+4
Due to a rebase, some edits were needed in the mod file.
2021-02-24Add testDániel Buga-0/+11
2020-08-09Rustdoc: Fix natural ordering to look at all numbers.Mara Bos-11/+27
The old implementation only looks at numbers at the end, but not in other places in a name: "u8" and "u16" got sorted properly, but "u8_bla" and "u16_bla" did not.
2019-12-22Format the worldMark Rousskov-9/+4
2019-08-02librustdoc: Unconfigure tests during normal buildVadim Petrochenkov-0/+29