Uh oh!
There was an error while loading. Please reload this page.
Instant/SystemTime doc: add meaning to first line - #30591
Conversation
The first line (paragraph?) of a doc-comment is what rustdoc shows when listing items of a module. What makes `Instant` and `SystemTime` different is important enough to be there. (Though feel free to bikeshed the wording.)
rust-highfive
commented
Dec 28, 2015
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
brson
commented
Dec 29, 2015
The focus on 'process' here may be confusing since the differences aren't explained in the main text in terms of processes. |
SimonSapin
commented
Dec 29, 2015
Fair point, though I think the difference I’m trying to underline is implicit in the current main text. ( |
brson
commented
Dec 29, 2015
The point you are making about processes isn't clear to me regardless of the terminology - I don't draw the same implicit conclusion from reading the description. The implications for processes seems to me a secondary attribute of the behavior of these types, not the main thing about them, suitable for the short description. If there are implications for how these types interact with processes I would expect that be explained more clearly in the text as an elaboration. |
aturon
commented
Jan 1, 2016
I agree with @brson. Perhaps for |
SimonSapin
commented
Jan 1, 2016
Ok, let’s forget the phrasing in this PR. What prompted it for me is looking at http://doc.rust-lang.org/nightly/std/time/ , where only the first paragraph of the doc of each item is shown. From these first paragraphs, I read that
(Unless someone is tempted to parse This means that |
aturon
commented
Jan 6, 2016
cc @wycats -- I'm sure you have thoughts here. |
aturon
commented
Jan 6, 2016
@SimonSapin OK, everything you're saying makes sense to me. Spitballing:
|
SimonSapin
commented
Jan 7, 2016
Looks good to me. Thanks! |
brson
commented
Jan 11, 2016
I like the direction this is going now. |
… per aturon’s proposal.
SimonSapin
commented
Jan 12, 2016
PR updated with @aturon’s wording. |
aturon
commented
Jan 15, 2016
@bors: r+ rollup |
bors
commented
Jan 15, 2016
📌 Commit 8e2b4b2 has been approved by |
The first line (paragraph?) of a doc-comment is what rustdoc shows when listing items of a module. What makes `Instant` and `SystemTime` different is important enough to be there. (Though feel free to bikeshed the wording.)
The first line (paragraph?) of a doc-comment is what rustdoc shows when listing items of a module.
What makes
InstantandSystemTimedifferent is important enough to be there. (Though feel free to bikeshed the wording.)