Skip to content

Commit 18028eb

Browse files
authored
Rollup merge of #51065 - mbrubeck:docs, r=rkruppe
Update nomicon link in transmute docs The list of "invalid primitive values" has moved to a different URL within the Rustonomicon.
2 parents 5d95492 + 37cbd11 commit 18028eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ extern "rust-intrinsic" {
717717
/// Reinterprets the bits of a value of one type as another type.
718718
///
719719
/// Both types must have the same size. Neither the original, nor the result,
720-
/// may be an [invalid value](../../nomicon/meet-safe-and-unsafe.html).
720+
/// may be an [invalid value](../../nomicon/what-unsafe-does.html).
721721
///
722722
/// `transmute` is semantically equivalent to a bitwise move of one type
723723
/// into another. It copies the bits from the source value into the

0 commit comments

Comments
 (0)