aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-02-14 15:01:24 +0000
committerGitHub <noreply@github.com>2025-02-14 15:01:24 +0000
commit04830e944be062f00647de2fc63bf40acdc8cab8 (patch)
tree6eb43954a52d4f9a8f46408777c5cab77a99cbdd
parent816566d8aa9451cf161aa6657faa507e1df84252 (diff)
parent2c7ec27445d715ce119ee00f6516124531e7a957 (diff)
Merge pull request #4844 from Gabr1313/master
Fix typos
-rw-r--r--examples/demo/demo.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index 82b047103..c559d4771 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -2185,7 +2185,7 @@ or_break_and_or_continue_operators :: proc() {
// The concept of 'or_break' and 'or_continue' is very similar to that of 'or_return'.
// The difference is that unlike 'or_return', the value does not get returned from
// the current procedure but rather discarded if it is 'false' or not 'nil', and then
- // the specified branch (i.e. break or_continue).
+ // the specified branch (i.e. break or continue).
// The or branch expression can be labelled if a specific statement needs to be used.
Error :: enum {
@@ -2337,7 +2337,7 @@ matrix_type :: proc() {
// There is no support for booleans, quaternions, or any compound type.
// Indexing a matrix can be used with the matrix indexing syntax
- // This mirrors othe type usages: type on the left, usage on the right
+ // This mirrors other type usages: type on the left, usage on the right
elem := m[1, 2] // row 1, column 2
assert(elem == -6)
@@ -2599,6 +2599,7 @@ main :: proc() {
using_statement()
implicit_context_system()
parametric_polymorphism()
+ threading_example()
array_programming()
map_type()
implicit_selector_expression()
@@ -2614,7 +2615,6 @@ main :: proc() {
ranged_fields_for_array_compound_literals()
deprecated_attribute()
range_statements_with_multiple_return_values()
- threading_example()
soa_struct_layout()
constant_literal_expressions()
union_maybe()