File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1220,7 +1220,7 @@ extern "rust-intrinsic" {
1220
1220
/// will generate code *assuming that you, the programmer, ensure that there will never be
1221
1221
/// undefined behavior*. It is therefore your responsibility to guarantee that every value
1222
1222
/// 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
1224
1224
/// unsafe**. `transmute` should be the absolute last resort.
1225
1225
///
1226
1226
/// Transmuting pointers to integers in a `const` context is [undefined behavior][ub].
You can’t perform that action at this time.
0 commit comments