-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Additional docs for Vec, String, and slice trait impls #39886
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
src/libcollections/string.rs
Outdated
/// every operation, which would lead to `O(n^2)` running time when building an `n`-byte string by | ||
/// repeated concatenation. | ||
/// | ||
/// The string on the left is only borrowed; its contents are copied into the returned `String`. |
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.
“left-hand operand” may be a better way to name… operand on the left.
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.
Oops, also this sentence is supposed to be about the right-hand operand anyway.
@bors: r+ rollup looks great! |
📌 Commit b2ac1c9 has been approved by |
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
Additional docs for Vec, String, and slice trait impls r? @steveklabnik
r? @steveklabnik