Browse Source

Merge pull request #4470 from clankill3r/patch-2

Update demo.odin
Jeroen van Rijn 9 months ago
parent
commit
da196a2b74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/demo/demo.odin

+ 1 - 1
examples/demo/demo.odin

@@ -2151,7 +2151,7 @@ or_return_operator :: proc() {
 		return .None
 		return .None
 	}
 	}
 	foo_2 :: proc() -> (n: int, err: Error) {
 	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+),
 		// If 'or_return' is used within a procedure multiple parameters (2+),
 		// then all the parameters must be named so that the remaining parameters
 		// then all the parameters must be named so that the remaining parameters
 		// so that a bare 'return' statement can be used
 		// so that a bare 'return' statement can be used