mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Improve comment
This commit is contained in:
@@ -2102,8 +2102,8 @@ or_return_operator :: proc() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a non-bare 'return' is required, then a normal 'if' can be used as it is
|
// If using a non-bare 'return' statement is required, setting the return values
|
||||||
// a lot clearer to read
|
// using the normal idiom is a better choice and clearer to read.
|
||||||
if z, zerr := caller_2(); zerr != nil {
|
if z, zerr := caller_2(); zerr != nil {
|
||||||
return -345 * z, zerr;
|
return -345 * z, zerr;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user