X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/fff8ebeb3f0b84c71275cbb5adee0aad6114f79b..ee5a849f625d3bd9bd9bb661428d1c051f285ebe:/workspace/src/part00.rs diff --git a/workspace/src/part00.rs b/workspace/src/part00.rs index 65769ef..49e89eb 100644 --- a/workspace/src/part00.rs +++ b/workspace/src/part00.rs @@ -1,5 +1,3 @@ -// ***Remember to enable/add this part in `main.rs`!*** - // Rust-101, Part 00: Algebraic datatypes // ====================================== @@ -60,8 +58,7 @@ fn read_vec() -> Vec { unimplemented!() } -// Finally, let's call our functions and run the code! -// But, wait, we would like to actually see something, so we need to print the result. +// Of course, we would also like to actually see the result of the computation, so we need to print the result. fn print_number_or_nothing(n: NumberOrNothing) { unimplemented!() @@ -74,7 +71,6 @@ pub fn main() { print_number_or_nothing(min); } -// You can now use `cargo build` to compile your code. If all goes well, try `cargo run` on the -// console to run it. +// Finally, try `cargo run` on the console to run it.