Skip to content

Commit 4398d92

Browse files
Fix links to error codes
1 parent c664a36 commit 4398d92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ pub trait StructuralEq {
343343
/// If you try to implement `Copy` on a struct or enum containing non-`Copy` data, you will get
344344
/// the error [E0204].
345345
///
346-
/// [E0204]: ../../error-index.html#E0204
346+
/// [E0204]: ../../error_codes/E0204.html
347347
///
348348
/// ## When *should* my type be `Copy`?
349349
///

library/core/src/ops/drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub trait Drop {
156156
/// handled by the compiler, but when using unsafe code, can sometimes occur
157157
/// unintentionally, particularly when using [`ptr::drop_in_place`].
158158
///
159-
/// [E0040]: ../../error-index.html#E0040
159+
/// [E0040]: ../../error_codes/E0040.html
160160
/// [`panic!`]: crate::panic!
161161
/// [`mem::drop`]: drop
162162
/// [`ptr::drop_in_place`]: crate::ptr::drop_in_place

0 commit comments

Comments
 (0)