about summary refs log tree commit diff
path: root/src/test/rustdoc/structfields.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-44/+0
2022-01-09Display "private fields" instead of "fields omitted"Noah Lev-4/+4
Also: * Always use `/* */` block comments * Use the same message everywhere, rather than sometimes prefixing with "some" When I first read rustdoc docs, I was confused why the fields were being omitted. It was only later that I realized it was because they were private. It's also always bothered me that rustdoc sometimes uses `//` and sometimes uses `/*` comments for these messages, so this change makes them all use `/*`. Technically, I think fields can be omitted if they are public but `doc(hidden)` too, but `doc(hidden)` is analogous to privacy. It's really just used to emulate "doc privacy" when -- because of technical limitations -- an item has to be public. So I think it's fine to include this under the category of "private fields".
2020-07-02Remove render-redirect-pages option in rustdocGuillaume Gomez-8/+0
2019-01-27Make 'generate-redirect-pages' option unstableGuillaume Gomez-1/+1
2019-01-27Add generate-old-style-files option to rustdocGuillaume Gomez-0/+7
2019-01-27Remove rustdoc old style files generationGuillaume Gomez-5/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2016-09-09rustdoc: Don't add extra newlines for fully opaque structsOliver Middleton-0/+10
Changes the definition for opaque structs to look like `pub struct Vec<T> { /* fields omitted */ }` to save space on the page. Also only use one line for empty braced structs.
2016-08-17Review changesNick Cameron-0/+6
2016-04-02Refactor `HiddenStructField` into `StrippedItem`mitaa-0/+44