@@ -46,7 +46,7 @@ type int8_t = i8;
4646## Crate-only attributes
4747
4848- ` crate_name ` - specify the crate's crate name.
49- - ` crate_type ` - see [ linkage] ( # linkage) .
49+ - ` crate_type ` - see [ linkage] ( linkage.html ) .
5050- ` feature ` - see [ compiler features] ( #compiler-features ) .
5151- ` no_builtins ` - disable optimizing certain code patterns to invocations of
5252 library functions that are assumed to exist
@@ -106,7 +106,7 @@ On an `extern` block, the following attributes are interpreted:
106106- ` link ` - indicate that a native library should be linked to for the
107107 declarations in this block to be linked correctly. ` link ` supports an optional
108108 ` kind ` key with three possible values: ` dylib ` , ` static ` , and ` framework ` . See
109- [ external blocks] ( #external-blocks ) for more about external blocks. Two
109+ [ external blocks] ( items.html #external-blocks) for more about external blocks. Two
110110 examples: ` #[link(name = "readline")] ` and
111111 ` #[link(name = "CoreFoundation", kind = "framework")] ` .
112112- ` linked_from ` - indicates what native library this block of FFI items is
@@ -149,7 +149,7 @@ On `struct`s:
149149 list of names ` #[macro_use(foo, bar)] ` restricts the import to just those
150150 macros named. The ` extern crate ` must appear at the crate root, not inside
151151 ` mod ` , which ensures proper function of the [ ` $crate ` macro
152- variable] ( book/macros.html#The%20variable%20%24crate ) .
152+ variable] ( ../ book/macros.html#the-variable-crate ) .
153153
154154- ` macro_reexport ` on an ` extern crate ` — re-export the named macros.
155155
@@ -159,7 +159,7 @@ On `struct`s:
159159 link it into the output.
160160
161161See the [ macros section of the
162- book] ( book/macros.html#Scoping%20and%20macro%20import%2Fexport ) for more information on
162+ book] ( ../ book/macros.html#scoping-and-macro-importexport ) for more information on
163163macro scope.
164164
165165## Miscellaneous attributes
@@ -317,7 +317,8 @@ For any lint check `C`:
317317
318318The lint checks supported by the compiler can be found via ` rustc -W help ` ,
319319along with their default settings. [ Compiler
320- plugins] ( book/compiler-plugins.html#lint-plugins ) can provide additional lint checks.
320+ plugins] ( ../book/compiler-plugins.html#lint-plugins ) can provide additional
321+ lint checks.
321322
322323``` {.ignore}
323324pub mod m1 {
@@ -442,7 +443,7 @@ impl<T: PartialEq> PartialEq for Foo<T> {
442443```
443444
444445You can implement ` derive ` for your own type through [ procedural
445- macros] ( # procedural-macros) .
446+ macros] ( procedural-macros.html ) .
446447
447448### Compiler Features
448449
@@ -464,10 +465,10 @@ considered off, and using the features will result in a compiler error.
464465
465466The currently implemented features of the reference compiler are:
466467
467- * ` advanced_slice_patterns ` - See the [ match expressions ] ( #match-expressions )
468- section for discussion; the exact semantics of
469- slice patterns are subject to change, so some types
470- are still unstable.
468+ * ` advanced_slice_patterns ` - See the [ match
469+ expressions ] ( expressions.html#match-expressions )
470+ section for discussion; the exact semantics of
471+ slice patterns are subject to change, so some types are still unstable.
471472
472473* ` slice_patterns ` - OK, actually, slice patterns are just scary and
473474 completely unstable.
0 commit comments