]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #25068 - bguiz:patch-3, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 5 May 2015 03:53:36 +0000 (09:23 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 5 May 2015 03:53:36 +0000 (09:23 +0530)
 - `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


Trivial merge