Skip to content

Commit f43d909

Browse files
eksperimentalericmj
authored andcommitted
Replace quotation marks (#8505)
Replaces "’" U+2019 RIGHT SINGLE QUOTATION MARK with "'" U+0027 APOSTROPHE. Replaces “ (U+201C LEFT DOUBLE QUOTATION MARK) with " (U+0022 QUOTATION MARK).
1 parent 5c35c37 commit f43d909

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/elixir/lib/file.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ defmodule File do
528528
Updates modification time (mtime) and access time (atime) of
529529
the given file.
530530
531-
The file is created if it doesnt exist. Requires datetime in UTC
531+
The file is created if it doesn't exist. Requires datetime in UTC
532532
(as returned by `:erlang.universaltime()`) or an integer
533533
representing the POSIX timestamp (as returned by `System.os_time(:second)`).
534534
@@ -566,7 +566,7 @@ defmodule File do
566566
Same as `touch/2` but raises a `File.Error` exception if it fails.
567567
Returns `:ok` otherwise.
568568
569-
The file is created if it doesnt exist. Requires datetime in UTC
569+
The file is created if it doesn't exist. Requires datetime in UTC
570570
(as returned by `:erlang.universaltime()`) or an integer
571571
representing the POSIX timestamp (as returned by `System.os_time(:second)`).
572572

lib/elixir/lib/supervisor.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ defmodule Supervisor do
9797
Supervisors support different strategies; in the example above, we
9898
have chosen `:one_for_one`. Furthermore, each supervisor can have many
9999
workers and/or supervisors as children, with each one having its own
100-
configuration (as outlined in the Child specification section).
100+
configuration (as outlined in the "Child specification" section).
101101
102102
The rest of this document will cover how child processes are started,
103103
how they can be specified, different supervision strategies and more.

lib/elixir/pages/Library Guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Although the previous section could be summarized as "avoid macros", both topics
192192

193193
To quote [the official guide on Macros](https://elixir-lang.org/getting-started/meta/macros.html):
194194

195-
> Even though Elixir attempts its best to provide a safe environment for macros, the major responsibility of writing clean code with macros falls on developers. Macros are harder to write than ordinary Elixir functions and its considered to be bad style to use them when theyre not necessary. So write macros responsibly.
195+
> Even though Elixir attempts its best to provide a safe environment for macros, the major responsibility of writing clean code with macros falls on developers. Macros are harder to write than ordinary Elixir functions and it's considered to be bad style to use them when they're not necessary. So write macros responsibly.
196196
>
197197
> Elixir already provides mechanisms to write your everyday code in a simple and readable fashion by using its data structures and functions. Macros should only be used as a last resort. Remember that **explicit is better than implicit**. **Clear code is better than concise code**.
198198

lib/elixir/pages/Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ iex> 1 < :an_atom
6161
true
6262
```
6363

64-
The reason we can compare different data types is pragmatism. Sorting algorithms dont need to worry about different data types in order to sort. For reference, the overall sorting order is defined below:
64+
The reason we can compare different data types is pragmatism. Sorting algorithms don't need to worry about different data types in order to sort. For reference, the overall sorting order is defined below:
6565

6666
```
6767
number < atom < reference < function < port < pid < tuple < map < list < bitstring

0 commit comments

Comments
 (0)