Skip to content
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

Add more explanation on vec type #31850

Merged
merged 1 commit into from
Feb 25, 2016
Merged

Conversation

GuillaumeGomez
Copy link
Member

///
/// # Slicing
///
/// A Vec is mutable (if you declared it as such) and can be modified. Slices,
Copy link
Member

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."

@steveklabnik
Copy link
Member

A few suggestions. Thanks :)

///
/// # Slicing
///
/// A Vec can be mutable Slices, on the other hand, are read-only objects.
Copy link
Member

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.

@steveklabnik
Copy link
Member

@bors: r+ rollup

❤️

@bors
Copy link
Contributor

bors commented Feb 24, 2016

📌 Commit df33fc3 has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 24, 2016
bors added a commit that referenced this pull request Feb 24, 2016
@bors bors merged commit df33fc3 into rust-lang:master Feb 25, 2016
@GuillaumeGomez GuillaumeGomez deleted the vec-doc branch February 28, 2016 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants