From 1a7f508dd94671b8575ee9decabf5ec9a52777c2 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 15 Aug 2021 18:44:50 +0100 Subject: [PATCH] Improve comment --- examples/demo/demo.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 2948f7682..d896e4eb5 100644 --- a/examples/demo/demo.odin +++ b/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; }