summaryrefslogtreecommitdiff
path: root/exercises/18_iterators/iterators3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/18_iterators/iterators3.rs')
-rw-r--r--exercises/18_iterators/iterators3.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/exercises/18_iterators/iterators3.rs b/exercises/18_iterators/iterators3.rs
index f7da049..9f106aa 100644
--- a/exercises/18_iterators/iterators3.rs
+++ b/exercises/18_iterators/iterators3.rs
@@ -1,13 +1,8 @@
-// iterators3.rs
-//
// This is a bigger exercise than most of the others! You can do it! Here is
// your mission, should you choose to accept it:
// 1. Complete the divide function to get the first four tests to pass.
// 2. Get the remaining tests to pass by completing the result_with_list and
// list_of_results functions.
-//
-// Execute `rustlings hint iterators3` or use the `hint` watch subcommand for a
-// hint.
#[derive(Debug, PartialEq, Eq)]
pub enum DivisionError {
@@ -43,6 +38,10 @@ fn list_of_results() -> () {
let division_results = numbers.into_iter().map(|n| divide(n, 27));
}
+fn main() {
+ // You can optionally experiment here.
+}
+
#[cfg(test)]
mod tests {
use super::*;