remove misleading example

This commit is contained in:
Elusive Porpoise
2023-05-08 23:12:56 -07:00
parent b052da1065
commit eff4833840

View File

@@ -2145,12 +2145,6 @@ or_return_operator :: proc() {
return -345 * z, zerr
}
// If the other return values need to be set depending on what the end value is,
// the 'defer if' idiom is can be used
defer if err != nil {
n = -1
}
n = 123
return
}