fix(iterators3): insert todo!() into divide() to compile without error

This commit is contained in:
Ryosuke YASUOKA
2022-07-14 18:19:35 +02:00
committed by mokou
co-authored by mokou
parent cf9629cb0e
commit 3c63ef0668
@@ -22,7 +22,9 @@ pub struct NotDivisibleError {
// Calculate `a` divided by `b` if `a` is evenly divisible by `b`.
// Otherwise, return a suitable error.
pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {}
pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {
todo!();
}
// Complete the function and return a value of the correct type so the test passes.
// Desired output: Ok([1, 11, 1426, 3])