about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJag Talon <talon.jag@gmail.com>2014-02-25 01:17:31 -0500
committerJag Talon <talon.jag@gmail.com>2014-02-25 12:32:09 -0500
commit82747ed93e5af967b691653a56849da2c209d85d (patch)
treefa70094411cd81ebc185019d1f043162ba81ca93 /src/rustllvm/RustWrapper.cpp
parent043c9721791731bbf7b9d8be354a65ed25b9a6d9 (diff)
downloadrust-82747ed93e5af967b691653a56849da2c209d85d.tar.gz
rust-82747ed93e5af967b691653a56849da2c209d85d.zip
tutorial: clearer explanation of freezing.
- "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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions