Skip to content

Commit

Permalink
Rollup merge of #80904 - camelid:fix-small-typo, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix small typo

transmutting -> transmuting
  • Loading branch information
JohnTitor committed Jan 11, 2021
2 parents 7e16025 + e2d3a25 commit f553a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_passes/src/intrinsicck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f553a0f

Please sign in to comment.