diff options
| author | ubsan <npmazzuca@gmail.com> | 2016-07-02 00:07:36 -0700 |
|---|---|---|
| committer | ubsan <npmazzuca@gmail.com> | 2016-07-02 00:07:36 -0700 |
| commit | 2413b52b886bc9ba4db6c5bc5eb0712c6e4f554a (patch) | |
| tree | 5f57a90dcdd4f975dc415736055b1b40efad48b4 /src/libcore | |
| parent | 6928bbba3a51db12aceb90d3c99dbec1383ce2dc (diff) | |
| download | rust-2413b52b886bc9ba4db6c5bc5eb0712c6e4f554a.tar.gz rust-2413b52b886bc9ba4db6c5bc5eb0712c6e4f554a.zip | |
More nits :P
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/intrinsics.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 3cc113f5e0a..d2bf9d94399 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -280,7 +280,8 @@ extern "rust-intrinsic" { /// Reinterprets the bits of a value of one type as another type. Both types /// must have the same size. Neither the original, nor the result, may be an - /// invalid value, or else you'll have UB on your hands. + /// [invalid value] + /// (https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html). /// /// `transmute::<T, U>(t)` is semantically equivalent to the following: /// @@ -300,9 +301,8 @@ extern "rust-intrinsic" { /// cause undefined behavior with this function. `transmute` should be /// the absolute last resort. /// - /// The following is more complete documentation. Read it before using - /// `transmute`: - /// [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html) + /// The [nomicon](https://doc.rust-lang.org/nomicon/transmutes.html) has + /// more complete documentation. Read it before using `transmute`. /// /// # Alternatives /// |
