aboutsummaryrefslogtreecommitdiffstats
path: root/doc/syntax/operators.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/operators.rdoc')
-rw-r--r--doc/syntax/operators.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/syntax/operators.rdoc b/doc/syntax/operators.rdoc
index f972309412..236b3413b5 100644
--- a/doc/syntax/operators.rdoc
+++ b/doc/syntax/operators.rdoc
@@ -47,9 +47,9 @@ of the operation.
=== <code>&&</code>, <code>and</code>
Both <code>&&</code>/<code>and</code> operators provide short-circuiting by executing each
-side of the operator, left to right, and stopping at the first occurence of a
+side of the operator, left to right, and stopping at the first occurrence of a
falsey expression. The expression that defines the result is the last one
-executed, whether it be the final expression, or the first occurence of a falsey
+executed, whether it be the final expression, or the first occurrence of a falsey
expression.
Some examples: