diff --git a/subjects/highest/README.md b/subjects/highest/README.md index b4b71ba4..ed1148a3 100644 --- a/subjects/highest/README.md +++ b/subjects/highest/README.md @@ -2,19 +2,14 @@ ### Instructions -In this exercise a `Numbers` struct will be given. +In this exercise, a `Numbers` struct will be given. -These methods have to be written: - -- `new` create a new instance of Number. -- `List` that returns an `array` with every number in the struct. -- `Latest` that returns an `Option` with the last added number. -- `Highest` that return an `Option` with the highest number from the list. -- `Highest_Three` that returns a `Vec` with the three highest numbers. - -### Notions - -- [Trait iterator](https://doc.rust-lang.org/std/iter/trait.Iterator.html) +These methods have to be written for it: +- `new`: create a new instance of `Number`. +- `List`: which returns an `array` with every number in the struct. +- `Latest`: which returns an `Option` with the last added number. +- `Highest`: which returns an `Option` with the highest number from the list. +- `Highest_Three`: which returns a `Vec` with the three highest numbers. ### Expected functions @@ -62,3 +57,7 @@ Some(70) [500, 70, 30] $ ``` + +### Notions + +- [Trait iterator](https://doc.rust-lang.org/std/iter/trait.Iterator.html)