File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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///
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments