X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/87eef0eb20858188744e529fb0c5f1282577b8e4..41c94f98f6cf8b5a05a8c3eb8d13bb73fc4fda3f:/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)