projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ship generated workspace files for the benefit of non-Linux users
[rust-101.git]
/
src
/
part03.rs
diff --git
a/src/part03.rs
b/src/part03.rs
index fa82eb7a21b1394cc4bd448efb5df25633733a85..9ab153dcf4176688b6afc9565e0ea75bb57f31cc 100644
(file)
--- a/
src/part03.rs
+++ b/
src/part03.rs
@@
-6,7
+6,7
@@
// I/O is a complicated topic, so the code to do that is not exactly pretty - but well,
// let's get that behind us.
// I/O is a complicated topic, so the code to do that is not exactly pretty - but well,
// let's get that behind us.
-// I/O is provided by the module `std::io`, so we first
import that
.
+// I/O is provided by the module `std::io`, so we first
have import that with `use`
.
// We also import the I/O *prelude*, which brings a bunch of commonly used I/O stuff
// directly available.
use std::io::prelude::*;
// We also import the I/O *prelude*, which brings a bunch of commonly used I/O stuff
// directly available.
use std::io::prelude::*;