Skip to content

Commit e821472

Browse files
committed
Fix language prelude link in recent boolean commit
1 parent a065afd commit e821472

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/boolean.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ two values, called *true* and *false*.
1010
Values of this type may be created using a [literal expression] using the
1111
keywords `true` and `false` corresponding to the value of the same name.
1212

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

1515
An object with the boolean type has a [size and alignment] of 1 each. The
1616
value false has the bit pattern `0x00` and the value true has the bit pattern
@@ -35,6 +35,7 @@ Like all primitives, the boolean type [implements][p-impl] the
3535
[enumerated type]: ./enum.md
3636
[expressions]: ../expressions.md
3737
[if expressions]: ../expressions/if-expr.md#if-expressions
38+
[language prelude]: ../names/preludes.md#language-prelude
3839
[lazy]: ../expressions/operator-expr.md#lazy-boolean-operators
3940
[literal expression]: ../expressions/literal-expr.md
4041
[name]: ../names.md
@@ -44,8 +45,7 @@ Like all primitives, the boolean type [implements][p-impl] the
4445
[p-send]: ../special-types-and-traits.md#send
4546
[p-sized]: ../special-types-and-traits.md#sized
4647
[p-sync]: ../special-types-and-traits.md#sync
47-
[p-traits]: ../items/traits.md
48-
[prelude item]: ../items/modules.md#prelude-items
48+
[p-traits]: ./items/traits.md
4949
[size and alignment]: ../type-layout.md#size-and-alignment
5050
[std]: ../../std/primitive.bool.html
5151
[undefined behavior]: ../behavior-considered-undefined.md

0 commit comments

Comments
 (0)