| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-12-28 | rustdoc: Don't try to generate links for modules in import paths | Oliver Middleton | -24/+2 | |
| The modules may be private or may even be enums so it would generate dead links. | ||||
| 2017-12-21 | Add GenericParam, refactor Generics in ast, hir, rustdoc | Jonas Platte | -43/+20 | |
| The Generics now contain one Vec of an enum for the generic parameters, rather than two separate Vec's for lifetime and type parameters. Additionally, places that previously used Vec<LifetimeDef> now use Vec<GenericParam> instead. | ||||
| 2017-12-10 | Auto merge of #46232 - canndrew:never-docs, r=QuietMisdreavus | bors | -1/+1 | |
| Add docs for never primitive cc @nikomatsakis, @QuietMisdreavus | ||||
| 2017-12-09 | Use Try syntax for Option in place of macros or match | Matt Brubeck | -9/+7 | |
| 2017-11-29 | Fix invalid HTML escape | Guillaume Gomez | -1/+1 | |
| 2017-11-28 | link to never type docs | Andrew Cann | -1/+1 | |
| 2017-10-17 | rustdoc: add a primitive page for "unit" | Josh Stone | -1/+1 | |
| In `src/libstd/primitive_docs.rs`, a `#[doc(primitive = "unit")]` section has sat long neglected. This patch teaches rustdoc to recognize "unit", and steals its trait implementations away from the tuple page. | ||||
| 2017-09-11 | rustc: replace usize with u64 and ConstUsize. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-08-28 | Fix invalid linker position | Guillaume Gomez | -1/+1 | |
| 2017-08-01 | add documentation for function pointers as a primitive | QuietMisdreavus | -5/+3 | |
| 2017-07-30 | add docs for references as a primitive | QuietMisdreavus | -19/+17 | |
| 2017-06-24 | rustdoc: Don't ICE on `use *;` | Oliver Middleton | -1/+5 | |
| 2017-06-11 | rustdoc: Link directly to associated types | Oliver Middleton | -23/+19 | |
| Rather than just linking to the trait. Also simplifies the logic used to decide whether to render the full QPath. | ||||
| 2017-06-01 | rustdoc: Rename `Vector` and `FixedVector` to `Slice` and `Array` | Oliver Middleton | -11/+4 | |
| Also store the array length as a usize rather than a String. This is just a minor refactor. | ||||
| 2017-05-31 | rustdoc: Cleanup associated const value rendering | Oliver Middleton | -153/+53 | |
| Rather than (ab)using Debug for outputting the type in plain text use the alternate format parameter which already does exactly that. This fixes type parameters for example which would output raw HTML. Also cleans up adding parens around references to trait objects. | ||||
| 2017-05-30 | Fix signature by adding parens when needed | Guillaume Gomez | -14/+23 | |
| 2017-05-15 | rustdoc: Display `extern "C" fn` instead of `extern fn` | Oliver Middleton | -1/+0 | |
| 2017-05-08 | Remove need for &format!(...) or &&"" dances in `span_label` calls | Oliver Schneider | -2/+2 | |
| 2017-04-12 | Fix invalid associated type rendering in rustdoc | Guillaume Gomez | -41/+74 | |
| 2017-04-09 | merge with master to pick up pulldown switch | QuietMisdreavus | -4/+4 | |
| 2017-04-06 | rustdoc: move the space at the end of where clauses | QuietMisdreavus | -3/+11 | |
| ...so that we don't indent the next line by one extra space | ||||
| 2017-04-06 | rustdoc: where clause adjustment to fix tests | QuietMisdreavus | -4/+7 | |
| - add spaces to output so stripping lines and breaking spaces renders the same - add commas to where clauses in rustdoc tests to match the new output | ||||
| 2017-04-05 | style: space between struct name and opening brace | QuietMisdreavus | -2/+2 | |
| 2017-04-04 | rustdoc: properly indent fn signatures in traits | QuietMisdreavus | -7/+21 | |
| 2017-03-31 | rustdoc: fix alignment of fn arguments when on multiple lines | QuietMisdreavus | -1/+1 | |
| 2017-03-31 | rustdoc: format where clauses like rust-lang-nursery/fmt-rfcs#38 | QuietMisdreavus | -32/+29 | |
| 2017-03-28 | rustdoc: format fns like format rfc 39 | QuietMisdreavus | -20/+16 | |
| 2017-03-21 | Add whitespace around "=" in assoc items | Guillaume Gomez | -2/+2 | |
| 2017-03-17 | Fix invalid debug display for associated consts | Guillaume Gomez | -2/+2 | |
| 2017-03-10 | Fix associated consts display | Guillaume Gomez | -19/+47 | |
| 2017-02-28 | Apply the same transformation to every types | Guillaume Gomez | -20/+34 | |
| 2017-02-26 | Put the const type and value into <code> | Guillaume Gomez | -18/+70 | |
| 2017-02-09 | Add the short type to inline links, too | Michael Howell | -2/+2 | |
| 2017-02-06 | rustdoc: Improve impl disambiguation | Oliver Middleton | -2/+4 | |
| * Don't disambiguate if there are multiple impls for the same type. * Disambiguate for impls of &Foo and &mut Foo. * Don't try to disambiguate generic types. | ||||
| 2017-01-21 | Force backline on all where in docs | Guillaume Gomez | -4/+3 | |
| 2017-01-17 | AST/HIR: Merge ObjectSum and PolyTraitRef | Vadim Petrochenkov | -13/+0 | |
| 2017-01-04 | Auto merge of #38414 - estebank:doc-dissambiguate, r=steveklabnik | bors | -164/+183 | |
| Rustdoc: disambiguate Implementors when the type name is not unique Presentation [goes from](https://doc.rust-lang.org/stable/std/iter/trait.ExactSizeIterator.html#implementors): <img width="492" alt="" src="https://cloud.githubusercontent.com/assets/1606434/21276752/b2b50474-c387-11e6-96e1-9766851da269.png"> to: <img width="787" alt="" src="https://cloud.githubusercontent.com/assets/1606434/21276763/bb37f6b0-c387-11e6-8596-9163cb254674.png"> on cases where there're multiple implementors with the same name. Fixes #37762. | ||||
| 2016-12-22 | use same param name across methods | Esteban Küber | -7/+10 | |
| 2016-12-20 | rustdoc: properly calculate line length for impl where clauses | QuietMisdreavus | -1/+1 | |
| 2016-12-15 | Rustdoc: disambiguate Implementors when the type name is not unique | Esteban Küber | -164/+180 | |
| 2016-11-30 | rustdoc: link to cross-crate sources directly. | Eduard-Mihai Burtescu | -10/+12 | |
| 2016-11-28 | rustc: desugar `use a::{b,c};` into `use a::b; use a::c;` in HIR. | Eduard-Mihai Burtescu | -27/+0 | |
| 2016-10-17 | rustdoc: make Method/WhereClause wrappers use usize for indents | QuietMisdreavus | -12/+13 | |
| 2016-10-15 | rustdoc: if a where clause gets any lines, it gets its own line | QuietMisdreavus | -1/+3 | |
| 2016-10-15 | rustdoc: break where clauses onto their own line if they don't have enough room | QuietMisdreavus | -1/+6 | |
| 2016-10-15 | rustdoc: apply proper indent when where clauses aren't on their own line | QuietMisdreavus | -8/+26 | |
| 2016-10-13 | fix spurious </span> appearing before the opening tag | QuietMisdreavus | -1/+1 | |
| 2016-10-13 | rustdoc: add line breaks to where clauses a la rustfmt | QuietMisdreavus | -11/+23 | |
| 2016-10-11 | Rollup merge of #36679 - QuietMisdreavus:rustdoc-line-breaks, r=steveklabnik | Guillaume Gomez | -100/+318 | |
| rustdoc: print non-self arguments of bare functions and struct methods on their own line This change alters the formatting rustdoc uses when it creates function and struct method documentation. For bare functions, each argument is printed on its own line. For struct methods, non-self arguments are printed on their own line. In both cases, no line breaks are introduced if there are no arguments, and for struct methods, no line breaks are introduced if there is only a single self argument. This should aid readability of long function signatures and allow for greater comprehension of these functions. I've run rustdoc with these changes on my crate egg-mode and its set of dependencies and put the result [on my server](https://shiva.icesoldier.me/doc-custom/egg_mode/). Of note, here are a few shortcut links that highlight the changes: * [Bare function with a long signature](https://shiva.icesoldier.me/doc-custom/egg_mode/place/fn.reverse_geocode.html) * [Struct methods, with single self argument and with self and non-self arguments](https://shiva.icesoldier.me/doc-custom/egg_mode/tweet/struct.Timeline.html#method.reset) * [Bare functions with no arguments](https://shiva.icesoldier.me/doc-custom/rand/fn.thread_rng.html) and [struct methods with no arguments](https://shiva.icesoldier.me/doc-custom/hyper/client/struct.Client.html#method.new) are left unchanged. This PR consists of two commits: one for bare functions and one for struct methods. | ||||
| 2016-10-02 | Remove redundant 'Import' in variant names, stop reexporting. | Corey Farwell | -3/+3 | |
