We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf9629c commit 3c63ef0Copy full SHA for 3c63ef0
exercises/standard_library_types/iterators3.rs
@@ -22,7 +22,9 @@ pub struct NotDivisibleError {
22
23
// Calculate `a` divided by `b` if `a` is evenly divisible by `b`.
24
// Otherwise, return a suitable error.
25
-pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {}
+pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {
26
+ todo!();
27
+}
28
29
// Complete the function and return a value of the correct type so the test passes.
30
// Desired output: Ok([1, 11, 1426, 3])
0 commit comments