X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/f5a79e8aaa07e56cf2dd8fe8438d96624dd84fbc..d9fc9a4d89d8e4950f43308318962d9179bd1177:/src/part03.rs?ds=sidebyside diff --git a/src/part03.rs b/src/part03.rs index 0e7db1d..9ab153d 100644 --- 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 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::*; @@ -108,4 +108,7 @@ impl SomethingOrNothing { } } +// **Exercise 03.2**: Building on exercise 02.2, implement all the things you need on `f32` to make your +// program work with floating-point numbers. + // [index](main.html) | [previous](part02.html) | [next](part04.html)