aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDoeke Wartena <clankill3r@gmail.com>2024-11-09 19:47:00 +0100
committerGitHub <noreply@github.com>2024-11-09 19:47:00 +0100
commit602dab386470a41eca2310ad086bf9320b41af2f (patch)
treee70e73e88740958f34633727bbb4dd4a673d6d8c /examples
parent76bf28ef2e3440bc31200b1d80c9b327ac208912 (diff)
Update demo.odin
type: turns -> returns
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 38b0f1739..b234ba4f3 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -2151,7 +2151,7 @@ or_return_operator :: proc() {
return .None
}
foo_2 :: proc() -> (n: int, err: Error) {
- // It is more common that your procedure turns multiple values
+ // It is more common that your procedure returns multiple values
// If 'or_return' is used within a procedure multiple parameters (2+),
// then all the parameters must be named so that the remaining parameters
// so that a bare 'return' statement can be used