File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,8 @@ extern "rust-intrinsic" {
280
280
281
281
/// Reinterprets the bits of a value of one type as another type. Both types
282
282
/// must have the same size. Neither the original, nor the result, may be an
283
- /// invalid value, or else you'll have UB on your hands.
283
+ /// [invalid value]
284
+ /// (https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html).
284
285
///
285
286
/// `transmute::<T, U>(t)` is semantically equivalent to the following:
286
287
///
@@ -300,9 +301,8 @@ extern "rust-intrinsic" {
300
301
/// cause undefined behavior with this function. `transmute` should be
301
302
/// the absolute last resort.
302
303
///
303
- /// The following is more complete documentation. Read it before using
304
- /// `transmute`:
305
- /// [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html)
304
+ /// The [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html) has
305
+ /// more complete documentation. Read it before using `transmute`.
306
306
///
307
307
/// # Alternatives
308
308
///
You can’t perform that action at this time.
0 commit comments