Skip to content

Commit d26556e

Browse files
ashton314josevalim
authored andcommitted
Add a semicolon, remove Oxford comma (elixir-lang#1201)
Line 81 had an [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma), but the rest of the document does not use Oxford commas. The comma on line 112 would be better with a semicolon: it's delimiting two related clauses that *could* stand on their own and so should be connected with a semicolon rather than a comma.
1 parent c08f893 commit d26556e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getting-started/basic-operators.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ true
7878

7979
As a rule of thumb, use `and`, `or` and `not` when you are expecting booleans. If any of the arguments are non-boolean, use `&&`, `||` and `!`.
8080

81-
Elixir also provides `==`, `!=`, `===`, `!==`, `<=`, `>=`, `<`, and `>` as comparison operators:
81+
Elixir also provides `==`, `!=`, `===`, `!==`, `<=`, `>=`, `<` and `>` as comparison operators:
8282

8383
```iex
8484
iex> 1 == 1
@@ -109,7 +109,7 @@ The reason we can compare different data types is pragmatism. Sorting algorithms
109109

110110
number < atom < reference < function < port < pid < tuple < map < list < bitstring
111111

112-
You don't actually need to memorize this ordering, it's enough to know that this ordering exists.
112+
You don't actually need to memorize this ordering; it's enough to know that this ordering exists.
113113

114114
For reference information about operators (and ordering), check the [reference page on operators](https://hexdocs.pm/elixir/operators.html).
115115

0 commit comments

Comments
 (0)