From e821472af76a20331ab65b2e1bf8de9cc6eeded8 Mon Sep 17 00:00:00 2001 From: "Havvy (Ryan Scheel)" Date: Thu, 21 Jan 2021 18:41:26 -0800 Subject: [PATCH] Fix language prelude link in recent boolean commit --- src/types/boolean.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types/boolean.md b/src/types/boolean.md index f352e1e4b..6da481082 100644 --- a/src/types/boolean.md +++ b/src/types/boolean.md @@ -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 @@ -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 @@ -44,8 +45,7 @@ Like all primitives, the boolean type [implements][p-impl] the [p-send]: ../special-types-and-traits.md#send [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 +[p-traits]: ./items/traits.md [size and alignment]: ../type-layout.md#size-and-alignment [std]: ../../std/primitive.bool.html [undefined behavior]: ../behavior-considered-undefined.md