Skip to content

Conversation

ollie27 and others added 12 commits August 27, 2016 17:00
Most pages include the item type in the title such as "Struct
std::vec::Vec". However it is missing from the pages for foreign
functions, type definitions, macros, statics and constants. This adds them
so for example, instead of a title of "std::u32::MAX" it is "Constant
std::u32::MAX" to match the others.
Instead of listing every field it will now show missing `a`, `z`, `b`, and 1 other field
…dturner

Update the wording for E0063. This will truncate the fields to 3.

Instead of listing every field it will now show missing `a`, `z`, `b`, and 1 other field
This is for rust-lang#35218 as part of rust-lang#35233

r? @jonathandturner
…bnik

rustdoc: Add missing item types to page titles

Most pages include the item type in the title such as "Struct std::vec::Vec". However it is missing from the pages for foreign functions, type definitions, macros, statics and constants. This adds them so for example, instead of a title of "std::u32::MAX" it is "Constant std::u32::MAX" to match the others.

[before](https://doc.rust-lang.org/nightly/std/u32/constant.MAX.html) [after](https://ollie27.github.io/rust_doc_test/std/u32/constant.MAX.html)
[before](https://doc.rust-lang.org/nightly/std/io/type.Result.html) [after](https://ollie27.github.io/rust_doc_test/std/io/type.Result.html)

Previous discussions: rust-lang#34345, rust-lang#35003
…=GuillaumeGomez

Add doc example for `std::time::Instant::elapsed`.

None
doc: we got coercion going on here, so no need to be this explicit
clean up `get_vtable`'s doc comment
@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Collaborator

bors commented Sep 10, 2016

📌 Commit 2ded399 has been approved by GuillaumeGomez

@rust-highfive
Copy link
Contributor

r? @Aatch

(rust_highfive has picked a reviewer for you, use r? to override)

@bors
Copy link
Collaborator

bors commented Sep 10, 2016

⌛ Testing commit 2ded399 with merge f8ba7cb...

bors added a commit that referenced this pull request Sep 10, 2016
Rollup of 6 pull requests

- Successful merges: #35691, #36045, #36311, #36314, #36326, #36346
- Failed merges:
@bors bors merged commit 2ded399 into rust-lang:master Sep 10, 2016
@GuillaumeGomez GuillaumeGomez deleted the rollup branch September 11, 2016 13:29
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.