Skip to content

Commit

Permalink
Fix small typo
Browse files Browse the repository at this point in the history
transmutting -> transmuting
  • Loading branch information
camelid committed Jan 11, 2021
1 parent 26d451f commit e2d3a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_passes/src/intrinsicck.rs
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 e2d3a25

Please sign in to comment.