X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/87eef0eb20858188744e529fb0c5f1282577b8e4..f21475ab3d58a70db564410f2b81572a4dbb492c:/src/part01.rs diff --git a/src/part01.rs b/src/part01.rs index 7603c1f..927a617 100644 --- a/src/part01.rs +++ b/src/part01.rs @@ -94,6 +94,7 @@ pub fn part_main() { // `main.rs` to run this code. // **Exercise**: Write a funtion `vec_avg` that computes the average value of a `Vec`. +// // *Hint*: `vec.len()` returns the length of a vector `vec`. // [index](main.html) | [previous](part00.html) | [next](part02.html)