Skip to content

tutorial: add note about mutability of vectors #3734

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

Merged
merged 1 commit into from
Oct 12, 2012

Conversation

dbp
Copy link
Contributor

@dbp dbp commented Oct 12, 2012

(and fix trailing whitespace).

From conversation on IRC, it seems like the idea is that eventually [mut T] will go away, and you will instead declare things like let mut v = [1,2,3], or &mut [T*3]. If this is the case, then it might be helpful to add a warning. Though if it is not coming for a long time, then maybe not.

brson added a commit that referenced this pull request Oct 12, 2012
tutorial: add note about mutability of vectors
@brson brson merged commit 39c0d35 into rust-lang:incoming Oct 12, 2012
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.

2 participants