mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Fix links to error codes
This commit is contained in:
parent
c664a36033
commit
4398d9229a
@ -343,7 +343,7 @@ pub trait StructuralEq {
|
||||
/// If you try to implement `Copy` on a struct or enum containing non-`Copy` data, you will get
|
||||
/// the error [E0204].
|
||||
///
|
||||
/// [E0204]: ../../error-index.html#E0204
|
||||
/// [E0204]: ../../error_codes/E0204.html
|
||||
///
|
||||
/// ## When *should* my type be `Copy`?
|
||||
///
|
||||
|
@ -156,7 +156,7 @@ pub trait Drop {
|
||||
/// handled by the compiler, but when using unsafe code, can sometimes occur
|
||||
/// unintentionally, particularly when using [`ptr::drop_in_place`].
|
||||
///
|
||||
/// [E0040]: ../../error-index.html#E0040
|
||||
/// [E0040]: ../../error_codes/E0040.html
|
||||
/// [`panic!`]: crate::panic!
|
||||
/// [`mem::drop`]: drop
|
||||
/// [`ptr::drop_in_place`]: crate::ptr::drop_in_place
|
||||
|
Loading…
Reference in New Issue
Block a user