aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-03 16:31:50 +0100
committergingerBill <bill@gingerbill.org>2021-08-03 16:31:50 +0100
commitb352b42afc01edcf01ad339b67d6a01c73e8dca0 (patch)
tree9638858667f8cb7351876958f971cf034b1dc113 /examples
parentc3e4509d17ef319bb8c66f00afc17e9169f21e85 (diff)
Remove old comment
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 123f56fce..d5dc1e6c7 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -2003,9 +2003,6 @@ or_else_procedure :: proc() {
fmt.println("\n#'or_else'");
// IMPORTANT NOTE: 'or_else' is experimental features and subject to change/removal
{
- // 'or_else' does a similar value check as 'try' but instead of doing an
- // early return, it will give a default value to be used instead
-
m: map[string]int;
i: int;
ok: bool;
@@ -2068,3 +2065,4 @@ main :: proc() {
or_else_procedure();
}
}
+// \ No newline at end of file