From c4aca2bc889a657825ea74db2b0dca1d7ea87a44 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 31 Jul 2022 09:00:49 -0400 Subject: [PATCH] typo Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com> --- library/core/src/intrinsics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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].