projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'cargo update' solutions
[rust-101.git]
/
src
/
part03.rs
diff --git
a/src/part03.rs
b/src/part03.rs
index 2e818d1413f730187d5327d0726fa3591707635f..b4bf2f35ada6c625fbf195a656dce13ede73fd78 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 have import that with `use`.
+// I/O is provided by the module `std::io`, so we first have
to
import that with `use`.
// We also import the I/O *prelude*, which makes a bunch of commonly used I/O stuff
// directly available.
use std::io::prelude::*;
// We also import the I/O *prelude*, which makes a bunch of commonly used I/O stuff
// directly available.
use std::io::prelude::*;