Skip to content

Commit 01b7dd3

Browse files
Fix typos in Elixir pages (#14670)
1 parent f5b65f5 commit 01b7dd3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/elixir/pages/mix-and-otp/agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,4 @@ end
207207

208208
When a long action is performed on the server, all other requests to that particular server will wait until the action is done, which may cause some clients to timeout.
209209

210-
Some APIs, such as GenServers, make a clearer distiction between client and server, and we will explore them in future chapters. Next let's talk about naming things, applications, and supervisors.
210+
Some APIs, such as GenServers, make a clearer distinction between client and server, and we will explore them in future chapters. Next let's talk about naming things, applications, and supervisors.

lib/elixir/pages/mix-and-otp/supervisor-and-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ end
181181

182182
Now run `mix test` again and our app should boot but we should see one failure. When we changed the `KV` module, we broke the boilerplate test case which tested the `KV.hello/0` function. You can simply remove that test case and we are back to a green suite.
183183

184-
We wrote very little code but we did something incredibly powerful. We now have a function, `KV.start/2` that is invoked whenever your application starts. This gives us the perfect place to start our key-value registry. The `Application` module also allows us to define a `stop/1` callback and other funtionality. You can check the `Application` and `Supervisor` modules for extensive documentation on their uses.
184+
We wrote very little code but we did something incredibly powerful. We now have a function, `KV.start/2` that is invoked whenever your application starts. This gives us the perfect place to start our key-value registry. The `Application` module also allows us to define a `stop/1` callback and other functionality. You can check the `Application` and `Supervisor` modules for extensive documentation on their uses.
185185

186186
Let's finally start our registry.
187187

lib/elixir/pages/references/patterns-and-guards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ iex> _
8383
** (CompileError) iex:3: invalid use of _
8484
```
8585

86-
A pinned value represents the value itself and not its – even if syntatically equal – pattern. The right hand side is compared to be equal to the pinned value:
86+
A pinned value represents the value itself and not its – even if syntactically equal – pattern. The right hand side is compared to be equal to the pinned value:
8787

8888
```iex
8989
iex> x = %{}

0 commit comments

Comments
 (0)