mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-11 09:29:59 +00:00
fix: Syntax error to fit formatting
This commit is contained in:
@@ -59,7 +59,7 @@ fn fixTooSmall(n: u32) MyNumberError!u32 {
|
|||||||
// If we get a TooSmall error, we should return 10.
|
// If we get a TooSmall error, we should return 10.
|
||||||
// If we get any other error, we should return that error.
|
// If we get any other error, we should return that error.
|
||||||
// Otherwise, we return the u32 number.
|
// Otherwise, we return the u32 number.
|
||||||
return detectProblems(n) ???
|
return detectProblems(n) ???;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn detectProblems(n: u32) MyNumberError!u32 {
|
fn detectProblems(n: u32) MyNumberError!u32 {
|
||||||
|
|||||||
Reference in New Issue
Block a user