Skip to content

Commit

Permalink
Fix language prelude link in recent boolean commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy committed Jan 22, 2021
1 parent 405fbb3 commit 19d8c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ two values, called *true* and *false*.
Values of this type may be created using a [literal expression] using the
keywords `true` and `false` corresponding to the value of the same name.

This type is a [prelude item] with the [name] `bool`.
This type is a part of the [language prelude] with the [name] `bool`.

An object with the boolean type has a [size and alignment] of 1 each. The
value false has the bit pattern `0x00` and the value true has the bit pattern
Expand All @@ -35,6 +35,7 @@ Like all primitives, the boolean type [implements][p-impl] the
[enumerated type]: ./enum.md
[expressions]: ../expressions.md
[if expressions]: ../expressions/if-expr.md#if-expressions
[language prelude]: ../names/preludes.md#language-prelude
[lazy]: ../expressions/operator-expr.md#lazy-boolean-operators
[literal expression]: ../expressions/literal-expr.md
[name]: ../names.md
Expand All @@ -45,7 +46,6 @@ Like all primitives, the boolean type [implements][p-impl] the
[p-sized]: ../special-types-and-traits.md#sized
[p-sync]: ../special-types-and-traits.md#sync
[p-traits]: ./items/traits.md
[prelude item]: ../items/modules.md#prelude-items
[size and alignment]: ../type-layout.md#size-and-alignment
[std]: ../../std/primitive.bool.html
[undefined behavior]: ../behavior-considered-undefined.md
Expand Down

0 comments on commit 19d8c56

Please sign in to comment.