-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
doc: skipping (obvious) details here is worth making this more nice t… #31585
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -528,7 +528,7 @@ impl<T> Vec<T> { | |||
} | |||
|
|||
/// Inserts an element at position `index` within the vector, shifting all | |||
/// elements after position `i` one position to the right. | |||
/// elements after the position to the right. |
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 found this sentence hard to parse, not realizing "the postion" was referencing that from the previous sentence. What about "shifting all elements after it to the right"?
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.
done
@bors r+ |
📌 Commit 0352bdf has been approved by |
@bors rollup |
…o read