-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Additional docs for Vec, String, and slice trait impls #39886
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