Skip to content

Commit c4aca2b

Browse files
typo
Co-authored-by: Jubilee <[email protected]>
1 parent aed5cf3 commit c4aca2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ extern "rust-intrinsic" {
12201220
/// will generate code *assuming that you, the programmer, ensure that there will never be
12211221
/// undefined behavior*. It is therefore your responsibility to guarantee that every value
12221222
/// passed to `transmute` is valid at both types `T` and `U`. Failing to uphold this condition
1223-
/// may lead to unexpeced and unstable compilation results. This makes `transmute` **incredibly
1223+
/// may lead to unexpected and unstable compilation results. This makes `transmute` **incredibly
12241224
/// unsafe**. `transmute` should be the absolute last resort.
12251225
///
12261226
/// Transmuting pointers to integers in a `const` context is [undefined behavior][ub].

0 commit comments

Comments
 (0)