Skip to content

tutorial: clearer explanation of freezing.#12547

Merged
bors merged 1 commit intomasterfrom
unknown repository
Feb 26, 2014
Merged

tutorial: clearer explanation of freezing.#12547
bors merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 25, 2014

  • "Lending an immutable pointer" might be confusing. It was not discussed why borrowed pointers are immutable in the first place.
  • Make it clear that the borrowed pointers are immutable even if the variable was declared with mut.
  • Make it clear that we cannot even assign anything to the variable while its value is being borrowed.

tutorial: change "--" to an em-dash.

tutorial: change instances of "--" to em-dash.

- "Lending an immutable pointer" might be confusing. It was not discussed why borrowed pointers are immutable in the first place.
- Make it clear that the borrowed pointers are immutable even if the variable was declared with `mut`.
- Make it clear that we cannot even assign anything to the variable while its value is being borrowed.

tutorial: change "--" to an em-dash.

tutorial: change instances of "--" to em-dash.
@ghost
Copy link
Author

ghost commented Feb 25, 2014

CC @pnkfelix I merged the three commits.

@ghost
Copy link
Author

ghost commented Feb 25, 2014

@pnkfelix Thanks!

bors added a commit that referenced this pull request Feb 26, 2014
…kfelix

- "Lending an immutable pointer" might be confusing. It was not discussed why borrowed pointers are immutable in the first place.
- Make it clear that the borrowed pointers are immutable even if the variable was declared with `mut`.
- Make it clear that we cannot even assign anything to the variable while its value is being borrowed.

tutorial: change "--" to an em-dash.

tutorial: change instances of "--" to em-dash.
@bors bors closed this Feb 26, 2014
@bors bors merged commit 82747ed into rust-lang:master Feb 26, 2014
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.

1 participant