diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-01-12 07:59:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-12 07:59:16 +0900 |
| commit | f553a0fe59bb64c436197f4a80837c68d5bec475 (patch) | |
| tree | f98bab538770bdcde7ae30cc6cce491241cde011 | |
| parent | 7e160256e41c1436056348ee02beb7dec9a97b2c (diff) | |
| parent | e2d3a25161465ecb2a88a1c06708604a56f875c3 (diff) | |
| download | rust-f553a0fe59bb64c436197f4a80837c68d5bec475.tar.gz rust-f553a0fe59bb64c436197f4a80837c68d5bec475.zip | |
Rollup merge of #80904 - camelid:fix-small-typo, r=jonas-schievink
Fix small typo transmutting -> transmuting
| -rw-r--r-- | compiler/rustc_passes/src/intrinsicck.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/intrinsicck.rs b/compiler/rustc_passes/src/intrinsicck.rs index 711e8e87c6c..ee90e9c54f6 100644 --- a/compiler/rustc_passes/src/intrinsicck.rs +++ b/compiler/rustc_passes/src/intrinsicck.rs @@ -78,7 +78,7 @@ impl ExprVisitor<'tcx> { return; } - // Special-case transmutting from `typeof(function)` and + // Special-case transmuting from `typeof(function)` and // `Option<typeof(function)>` to present a clearer error. let from = unpack_option_like(self.tcx, from); if let (&ty::FnDef(..), SizeSkeleton::Known(size_to)) = (from.kind(), sk_to) { |
