Uh oh!
There was an error while loading. Please reload this page.
Add documentation for Read, Write impls for slices and Vec - #37343
Conversation
rust-highfive
commented
Oct 22, 2016
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
f0414a9 to
6c67764CompareThere was a problem hiding this comment.
This sentence is too long and it makes it difficult to read.
There was a problem hiding this comment.
"when the end of the input"?
There was a problem hiding this comment.
The Read trait calls this situation "end of file" (with quotes) and/or EOF. So I want to keep that terminology. Using either EOF or "end of file" should be good?
There was a problem hiding this comment.
Same, the sentence is too long.
bluss
commented
Oct 27, 2016
Updated |
There was a problem hiding this comment.
"Note that reading updates the slice to point to the yet unread part."? (I removed "just")
GuillaumeGomez
commented
Oct 27, 2016
Thanks! Now please squash your commits and it's all good. :) |
The Write impls for &[u8] and Vec<u8> are quite different, and we need this to be reflected in the docs. These documentation comments will be visible on the respective type's page in the trait impls section.
bluss
commented
Oct 27, 2016
Updated with the squash. Thanks for the help. |
GuillaumeGomez
commented
Oct 28, 2016
bors
commented
Oct 28, 2016
📌 Commit 9568f44 has been approved by |
Add documentation for Read, Write impls for slices and Vec The Write imps for &[u8] and Vec<u8> are quite different, and we need this to be reflected in the docs. These documentation comments will be visible on the respective type's page in the trait impls section.
The Write imps for &[u8] and Vec are quite different, and we need this to
be reflected in the docs.
These documentation comments will be visible on the respective type's
page in the trait impls section.