-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add more explanation on vec type #31850
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
/// | ||
/// # Slicing | ||
/// | ||
/// A Vec is mutable (if you declared it as such) and can be modified. Slices, |
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 might just change this to "A vec can be mutable."
A few suggestions. Thanks :) |
273ff47
to
8a20f0f
Compare
/// | ||
/// # Slicing | ||
/// | ||
/// A Vec can be mutable Slices, on the other hand, are read-only objects. |
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.
missing a period between mutable and Slices.
8a20f0f
to
df33fc3
Compare
@bors: r+ rollup ❤️ |
📌 Commit df33fc3 has been approved by |
r? @steveklabnik
cc @mbrubeck