Skip to content

Commit 25cbbfe

Browse files
authored
Fix errors in getting-started and mix-and-otp guides (#15289)
1 parent a5e19ad commit 25cbbfe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/elixir/pages/getting-started/basic-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ iex> trunc(3.58)
7575
3
7676
```
7777

78-
Finally, we work with different data types, we will learn Elixir provides several predicate functions to check for the type of a value. For example, [`is_integer`](`is_integer/1`) can be used to check if a value is an integer or not:
78+
Finally, as we work with different data types, we will learn that Elixir provides several predicate functions to check for the type of a value. For example, [`is_integer`](`is_integer/1`) can be used to check if a value is an integer or not:
7979

8080
```elixir
8181
iex> is_integer(1)
@@ -310,4 +310,4 @@ false
310310

311311
The comparison operators in Elixir can compare across any data type. We say these operators perform _structural comparison_. For more information, you can read our documentation on [Structural vs Semantic comparisons](`Kernel#module-structural-comparison`).
312312

313-
Elixir also provides data-types for expressing collections, such as lists and tuples, which we learn next. When we talk about concurrency and fault-tolerance via processes, we will also discuss ports, pids, and references, but that will come on later chapters. Let's move forward.
313+
Elixir also provides data-types for expressing collections, such as lists and tuples, which we'll learn next. When we talk about concurrency and fault-tolerance via processes, we will also discuss ports, pids, and references, but that will come in later chapters. Let's move forward.

lib/elixir/pages/mix-and-otp/config-and-distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ $ mix help
241241
mix deps # Lists dependencies and their status
242242
mix deps.clean # Deletes the given dependencies' files
243243
mix deps.compile # Compiles dependencies
244-
mix deps.get # Gets all out of date dependencies
244+
mix deps.get # Fetches unavailable and out of date dependencies
245245
mix deps.tree # Prints the dependency tree
246246
mix deps.unlock # Unlocks the given dependencies
247247
mix deps.update # Updates the given dependencies

lib/elixir/pages/mix-and-otp/task-and-gen-tcp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ With this change, we are saying that we want to run `KV.Server.accept(4040)` as
143143
Now that the server is part of the supervision tree, it should start automatically when we run the application. Run `iex -S mix` to boot the app and use the `telnet` client to make sure that everything still works:
144144

145145
```console
146-
$ telnet 127.0.0.1 4321
146+
$ telnet 127.0.0.1 4040
147147
Trying 127.0.0.1...
148148
Connected to localhost.
149149
Escape character is '^]'.
@@ -158,7 +158,7 @@ Yes, it works! However, can it handle more than one client?
158158
Try to connect two telnet clients at the same time. When you do so, you will notice that the second client doesn't echo:
159159

160160
```console
161-
$ telnet 127.0.0.1 4321
161+
$ telnet 127.0.0.1 4040
162162
Trying 127.0.0.1...
163163
Connected to localhost.
164164
Escape character is '^]'.

0 commit comments

Comments
 (0)