diff options
| author | gingerBill <bill@gingerbill.org> | 2019-12-31 12:54:19 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-12-31 12:54:19 +0000 |
| commit | bdfef08214446a1013d30ae24b677a08298512be (patch) | |
| tree | b67e17777d86a996865224c3613542928efb619c /examples | |
| parent | 42678848b23db26512fa0e06a1ededf6fabce85d (diff) | |
Fix typos in demo.odin
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/demo/demo.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 12d2eaf55..7b3a07f73 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -99,11 +99,11 @@ the_basics :: proc() { a, b := 1, "hello"; // declares `a` and `b` and infers the types from the assignments b, a = "byte", 0; - // Note: `:=` is two tokens, `:` and `=`. The follow are equivalent + // Note: `:=` is two tokens, `:` and `=`. The following are equivalent, /* i: int = 123; i: = 123; - i := 123 + i := 123; */ // Constant declarations |