X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/0b126b3637b97200f23be4e753d245852e0355ee..4f61be32dd480f23a7fef05ee66c42ae27c980c6:/src/part00.rs diff --git a/src/part00.rs b/src/part00.rs index ed76e81..06bb205 100644 --- a/src/part00.rs +++ b/src/part00.rs @@ -85,8 +85,8 @@ fn read_vec() -> Vec { // 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 Rust can print numbers, but after calling `vec_min`, we have a `NumberOrNothing`. -// So let's write a small helper function that prints such values. +//@ Of course Rust can print numbers, but after calling `vec_min`, we have a `NumberOrNothing`. +//@ So let's write a small helper function that prints such values. //@ `println!` is again a macro, where the first argument is a *format string*. For //@ now, you just need to know that `{}` is the placeholder for a value, and that Rust