diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-31 09:00:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-31 09:00:49 -0400 |
| commit | c4aca2bc889a657825ea74db2b0dca1d7ea87a44 (patch) | |
| tree | 405b384feb3307622a19a8e9ee36da89997bfe43 | |
| parent | aed5cf3f8ccd42ce455b8d7adbc4a2acfe013f85 (diff) | |
| download | rust-c4aca2bc889a657825ea74db2b0dca1d7ea87a44.tar.gz rust-c4aca2bc889a657825ea74db2b0dca1d7ea87a44.zip | |
typo
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
| -rw-r--r-- | library/core/src/intrinsics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index d043c61a47a..f4234105ac6 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -1220,7 +1220,7 @@ extern "rust-intrinsic" { /// will generate code *assuming that you, the programmer, ensure that there will never be /// undefined behavior*. It is therefore your responsibility to guarantee that every value /// passed to `transmute` is valid at both types `T` and `U`. Failing to uphold this condition - /// may lead to unexpeced and unstable compilation results. This makes `transmute` **incredibly + /// may lead to unexpected and unstable compilation results. This makes `transmute` **incredibly /// unsafe**. `transmute` should be the absolute last resort. /// /// Transmuting pointers to integers in a `const` context is [undefined behavior][ub]. |
