Make Cell::new method come first in documentation#65046
Merged
bors merged 1 commit intorust-lang:masterfrom Oct 8, 2019
Merged
Make Cell::new method come first in documentation#65046bors merged 1 commit intorust-lang:masterfrom
Cell::new method come first in documentation#65046bors merged 1 commit intorust-lang:masterfrom
Conversation
To make `new` method appear first in documentation.
Contributor
|
r? @shepmaster (rust_highfive has picked a reviewer for you, use r? to override) |
Member
|
@bors r+ rollup Thanks! |
Collaborator
|
📌 Commit 3754691 has been approved by |
Centril
added a commit
to Centril/rust
that referenced
this pull request
Oct 8, 2019
Make `Cell::new` method come first in documentation Methods to create a thing usually comes first in `std` documentation, and `Cell` has been an exception. Also, `T: Copy` specialized methods should not be on top of the page. (This had led me to miss that most of its methods are not bounded by `Copy`...)
bors
added a commit
that referenced
this pull request
Oct 8, 2019
Rollup of 8 pull requests Successful merges: - #64726 (rewrite documentation for unimplemented! to clarify use) - #65040 (syntax: more cleanups in item and function signature parsing) - #65046 (Make `Cell::new` method come first in documentation) - #65098 (Add long error explanation for E0561) - #65150 (Suggest dereferencing boolean reference when used in 'if' or 'while') - #65154 (Fix const generic arguments not displaying in types mismatch diagnostic) - #65181 (fix bug in folding for constants) - #65187 (use 'invalid argument' for vxWorks) Failed merges: - #65179 (Add long error explanation for E0567) r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Methods to create a thing usually comes first in
stddocumentation, andCellhas been an exception. Also,T: Copyspecialized methods should not be on top of the page. (This had led me to miss that most of its methods are not bounded byCopy...)