diff options
| author | Ralf Jung <post@ralfj.de> | 2020-02-29 16:20:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-29 16:20:17 +0100 |
| commit | b6e847cc983c3e4d4ab96b026cea6743db00a133 (patch) | |
| tree | c81f2d7c36f06c7df158427eb8239a2068aa15dd /src | |
| parent | 0edc90cd1884c945b00512d2dede33c8a725ceb4 (diff) | |
| download | rust-b6e847cc983c3e4d4ab96b026cea6743db00a133.tar.gz rust-b6e847cc983c3e4d4ab96b026cea6743db00a133.zip | |
Fix typo
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 7f4d52a87b0..fca2c3d31d9 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -882,7 +882,7 @@ extern "rust-intrinsic" { /// let v_clone = v_orig.clone(); /// /// // Using transmute: this relies on the unspecified data layout of `Vec`, which is a - /// // bad idea and could cause Undefined Behavior + /// // bad idea and could cause Undefined Behavior. /// // However, it is no-copy. /// let v_transmuted = unsafe { /// std::mem::transmute::<Vec<&i32>, Vec<Option<&i32>>>(v_clone) |
