Browse Source

Improve comment

gingerBill 4 years ago
parent
commit
1a7f508dd9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/demo/demo.odin

+ 2 - 2
examples/demo/demo.odin

@@ -2102,8 +2102,8 @@ or_return_operator :: proc() {
 			return;
 		}
 
-		// If a non-bare 'return' is required, then a normal 'if' can be used as it is
-		// a lot clearer to read
+		// If using a non-bare 'return' statement is required, setting the return values
+		// using the normal idiom is a better choice and clearer to read.
 		if z, zerr := caller_2(); zerr != nil {
 			return -345 * z, zerr;
 		}