Skip to content

Commit e1cbc45

Browse files
committed
Move types redirect to book.toml
This removes the custom redirect and uses the built-in mdbook version.
1 parent 76d5c46 commit e1cbc45

File tree

3 files changed

+31
-44
lines changed

3 files changed

+31
-44
lines changed

book.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,37 @@ use-boolean-and = true
3838
"/procedural-macros.html#derive-macros" = "procedural-macros.html#the-proc_macro_derive-attribute"
3939
"/procedural-macros.html#function-like-procedural-macros" = "procedural-macros.html#the-proc_macro-attribute"
4040
"/runtime.html#the-panic_handler-attribute" = "panic.html#the-panic_handler-attribute"
41+
"/types.html#abstract-return-types" = "types/impl-trait.html#abstract-return-types"
42+
"/types.html#anonymous-type-parameters" = "types/impl-trait.html#anonymous-type-parameters"
43+
"/types.html#array-and-slice-types" = "types/array.html"
44+
"/types.html#boolean-type" = "types/boolean.html"
45+
"/types.html#call-traits-and-coercions" = "types/closure.html#call-traits-and-coercions"
46+
"/types.html#capture-modes" = "types/closure.html#capture-modes"
47+
"/types.html#closure-types" = "types/closure.html"
48+
"/types.html#enumerated-types" = "types/enum.html"
49+
"/types.html#function-item-types" = "types/function-item.html"
50+
"/types.html#function-pointer-types" = "types/function-pointer.html"
51+
"/types.html#impl-trait" = "types/impl-trait.html"
52+
"/types.html#inferred-type" = "types/inferred.html"
53+
"/types.html#machine-dependent-integer-types" = "types/numeric.html#machine-dependent-integer-types"
54+
"/types.html#machine-types" = "types/numeric.html"
55+
"/types.html#mutable-references-" = "types/pointer.html#mutable-references-mut"
56+
"/types.html#never-type" = "types/never.html"
57+
"/types.html#numeric-types" = "types/numeric.html"
58+
"/types.html#other-traits" = "types/closure.html#other-traits"
59+
"/types.html#pointer-types" = "types/pointer.html"
60+
"/types.html#raw-pointers-const-and-mut" = "types/pointer.html#raw-pointers-const-and-mut"
61+
"/types.html#self-types" = "paths.html#self-1"
62+
"/types.html#shared-references-" = "types/pointer.html#shared-references-"
63+
"/types.html#smart-pointers" = "types/pointer.html#smart-pointers"
64+
"/types.html#struct-types" = "types/struct.html"
65+
"/types.html#textual-types" = "types/textual.html"
66+
"/types.html#trait-object-lifetime-bounds" = "types/trait-object.html#trait-object-lifetime-bounds"
67+
"/types.html#trait-objects" = "types/trait-object.html"
68+
"/types.html#tuple-types" = "types/tuple.html"
69+
"/types.html#type-parameters" = "types/parameters.html"
70+
"/types.html#union-types" = "types/union.html"
71+
"/types.html#unique-immutable-borrows-in-captures" = "types/closure.html#unique-immutable-borrows-in-captures"
4172
"/unsafe-blocks.html" = "unsafe-keyword.html"
4273
"/unsafe-functions.html" = "unsafe-keyword.html"
4374

src/types-redirect.html

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{#include types-redirect.html}}
21
r[type]
32
# Types
43

0 commit comments

Comments
 (0)