about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorBrendan Graetz <github@bguiz.com>2015-05-03 20:42:47 +1000
committerBrendan Graetz <github@bguiz.com>2015-05-03 20:42:47 +1000
commit75a3e29042059c7481358816d22f3a06aae53ba6 (patch)
tree6aa802cec075da2e6077c90508fdeb4657a19920 /src/rustllvm/ExecutionEngineWrapper.cpp
parent0d7d3ec9d2b314af0188a820c58fbd95ee905793 (diff)
downloadrust-75a3e29042059c7481358816d22f3a06aae53ba6.tar.gz
rust-75a3e29042059c7481358816d22f3a06aae53ba6.zip
=BG= minor: File::open --> File::create in rust book
- `FIle::open` is for opening a file in read-only mode
- `FIle::create` is for opening a file in write-only mode, which is what we want instead for this example to make sense
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions