-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Modify str Structs descriptions #40935
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Original headline of SplitWhitespace's description is more descriptive as to what it contains and iterates over.
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.
one tiny thing and then this is good to go!
src/libcollections/str.rs
Outdated
/// For use with the `std::iter` module. | ||
/// [`u16`]: ../../std/primitive.u16.html | ||
/// | ||
/// This struct is created by the [`encode_utf16()`] method on [`str`]. |
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.
we don't include the ()
s when referencing methods; could you change that everywhere please?
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.
Can diddly do
@bors: r+ rollup Thanks a ton! |
📌 Commit 3b39621 has been approved by |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 3b39621 has been approved by |
…r=steveklabnik Modify str Structs descriptions References rust-lang#29375. Modified descriptions of multiple structs to be more in line with structs found under [`std::iter`](https://doc.rust-lang.org/std/iter/#structs), such as [`Chain`](https://doc.rust-lang.org/std/iter/struct.Chain.html) and [`Enumerate`](https://doc.rust-lang.org/std/iter/struct.Enumerate.html)
…r=steveklabnik Modify str Structs descriptions References rust-lang#29375. Modified descriptions of multiple structs to be more in line with structs found under [`std::iter`](https://doc.rust-lang.org/std/iter/#structs), such as [`Chain`](https://doc.rust-lang.org/std/iter/struct.Chain.html) and [`Enumerate`](https://doc.rust-lang.org/std/iter/struct.Enumerate.html)
References #29375. Modified descriptions of multiple structs to be more in line with structs found under
std::iter
, such asChain
andEnumerate