mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-02 16:33:31 +02:00
progress
This commit is contained in:
@@ -26,7 +26,7 @@ fn addFive(n: u32) MyNumberError!u32 {
|
||||
// This function needs to return any error which might come back from detect().
|
||||
// Please use a "try" statement rather than a "catch".
|
||||
//
|
||||
const x = detect(n);
|
||||
const x = try detect(n);
|
||||
|
||||
return x + 5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user