-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add missing urls for io types #37165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✌️ @kmcallister can now approve this pull request |
@bors: r+ rollup |
📌 Commit e25d997 has been approved by |
/// anywhere you might use a reader or writer that does actual I/O. | ||
/// | ||
/// The standard library implements some I/O traits on various types which | ||
/// are commonly used as a buffer, like `Cursor<Vec<u8>>` and `Cursor<&[u8]>`. | ||
/// are commonly used as a buffer, like `Cursor<`[`Vec`]`<u8>>` and | ||
/// `Cursor<`[`&[u8]`]`>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't put square brackets in links like this. It needs to be something like ``Cursor<[
&[u8]`][bytes]`>`.` and `[bytes]: ../../std/primitive.slice.html` for this link to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't pay attention, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually it does work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed this as part of #37316.
@bors: r- |
@bors: r=kmcallister rollup |
📌 Commit e25d997 has been approved by |
…ster Add missing urls for io types r? @steveklabnik
r? @steveklabnik