Skip to content

Copyediting for 'variable bindings' #24247

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
Apr 11, 2015

Conversation

steveklabnik
Copy link
Member

keeping on with the edits

@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

hand side of a `let` expression is a full pattern, not just a variable name.
This means we can do things like:
In many languages, this is called a *variable*, but Rust’s variable bindings
have a few tricks up their sleeves. For example the left hand side of a `let`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/left hand/left-hand/

@huonw
Copy link
Member

huonw commented Apr 9, 2015

r=me with @apasel422 notes.

@steveklabnik steveklabnik force-pushed the update_variable_bindings branch from 75223bb to 9eb8528 Compare April 9, 2015 23:07
@steveklabnik
Copy link
Member Author

Thanks @apasel422 !

@steveklabnik
Copy link
Member Author

@bors: r=huonw rollup

@bors
Copy link
Collaborator

bors commented Apr 9, 2015

📌 Commit 9eb8528 has been approved by huonw

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
bors added a commit that referenced this pull request Apr 10, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 10, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
bors added a commit that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Apr 10, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 11, 2015
@bors bors merged commit 9eb8528 into rust-lang:master Apr 11, 2015
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.

6 participants