Skip to content

Commit 2413b52

Browse files
committed
More nits :P
1 parent 6928bbb commit 2413b52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libcore/intrinsics.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ extern "rust-intrinsic" {
280280

281281
/// Reinterprets the bits of a value of one type as another type. Both types
282282
/// 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).
284285
///
285286
/// `transmute::<T, U>(t)` is semantically equivalent to the following:
286287
///
@@ -300,9 +301,8 @@ extern "rust-intrinsic" {
300301
/// cause undefined behavior with this function. `transmute` should be
301302
/// the absolute last resort.
302303
///
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`.
306306
///
307307
/// # Alternatives
308308
///

0 commit comments

Comments
 (0)