@@ -164,7 +164,7 @@ pub use intrinsics::transmute;
164
164
/// [uninit]: fn.uninitialized.html
165
165
/// [clone]: ../clone/trait.Clone.html
166
166
/// [swap]: fn.swap.html
167
- /// [FFI]: ../../book/ffi.html
167
+ /// [FFI]: ../../book/first-edition/ ffi.html
168
168
/// [box]: ../../std/boxed/struct.Box.html
169
169
/// [into_raw]: ../../std/boxed/struct.Box.html#method.into_raw
170
170
/// [ub]: ../../reference/behavior-considered-undefined.html
@@ -199,7 +199,7 @@ pub fn size_of<T>() -> usize {
199
199
/// then `size_of_val` can be used to get the dynamically-known size.
200
200
///
201
201
/// [slice]: ../../std/primitive.slice.html
202
- /// [trait object]: ../../book/trait-objects.html
202
+ /// [trait object]: ../../book/first-edition/ trait-objects.html
203
203
///
204
204
/// # Examples
205
205
///
@@ -317,7 +317,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
317
317
/// many of the same caveats.
318
318
///
319
319
/// [uninit]: fn.uninitialized.html
320
- /// [FFI]: ../../book/ffi.html
320
+ /// [FFI]: ../../book/first-edition/ ffi.html
321
321
/// [ub]: ../../reference/behavior-considered-undefined.html
322
322
///
323
323
/// # Examples
@@ -343,7 +343,7 @@ pub unsafe fn zeroed<T>() -> T {
343
343
/// This is useful for [FFI] functions and initializing arrays sometimes,
344
344
/// but should generally be avoided.
345
345
///
346
- /// [FFI]: ../../book/ffi.html
346
+ /// [FFI]: ../../book/first-edition/ ffi.html
347
347
///
348
348
/// # Undefined behavior
349
349
///
@@ -525,7 +525,7 @@ pub fn replace<T>(dest: &mut T, mut src: T) -> T {
525
525
/// it will not release any borrows, as borrows are based on lexical scope.
526
526
///
527
527
/// This effectively does nothing for
528
- /// [types which implement `Copy`](../../book/ownership.html#copy-types),
528
+ /// [types which implement `Copy`](../../book/first-edition/ ownership.html#copy-types),
529
529
/// e.g. integers. Such values are copied and _then_ moved into the function,
530
530
/// so the value persists after this function call.
531
531
///
0 commit comments