You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/src/documentation/language/control-flow/match/single-line.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,6 @@ The left side of the arrow `=>` is the pattern that we are matching on and the r
10
10
11
11
We check each arm starting from `0` and make our way down until we either find a match on our pattern or we reach the `catch_all` case.
12
12
13
-
The `|` operator can be used to produce a pattern that is a disjuction of other patterns.
13
+
The `|` operator can be used to produce a pattern that is a disjunction of other patterns.
14
14
15
15
The `catch_all` case is equivalent to an `else` in [if expressions](../if-expressions.md) and it does not have to be called `catch_all`. Any pattern declared after a `catch_all` case will not be matched because once the compiler sees the first `catch_all` it stop performing further checks.
Copy file name to clipboardExpand all lines: docs/reference/src/documentation/operations/namespace/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Address Namespace
2
2
3
-
Sway utilizies namespaces to distinguish between address types.
3
+
Sway utilizes namespaces to distinguish between address types.
4
4
5
5
Having multiple address types enforces type-safety and expands the range of values that an address can take because the same value can be used across multiple types.
0 commit comments