Skip to content

Commit b6e847c

Browse files
RalfJungCentril
andauthored
Fix typo
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 0edc90c commit b6e847c

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
@@ -882,7 +882,7 @@ extern "rust-intrinsic" {
882882
/// let v_clone = v_orig.clone();
883883
///
884884
/// // Using transmute: this relies on the unspecified data layout of `Vec`, which is a
885-
/// // bad idea and could cause Undefined Behavior
885+
/// // bad idea and could cause Undefined Behavior.
886886
/// // However, it is no-copy.
887887
/// let v_transmuted = unsafe {
888888
/// std::mem::transmute::<Vec<&i32>, Vec<Option<&i32>>>(v_clone)

0 commit comments

Comments
 (0)