Skip to content

Commit e2d3a25

Browse files
committed
Fix small typo
transmutting -> transmuting
1 parent 26d451f commit e2d3a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/intrinsicck.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl ExprVisitor<'tcx> {
7878
return;
7979
}
8080

81-
// Special-case transmutting from `typeof(function)` and
81+
// Special-case transmuting from `typeof(function)` and
8282
// `Option<typeof(function)>` to present a clearer error.
8383
let from = unpack_option_like(self.tcx, from);
8484
if let (&ty::FnDef(..), SizeSkeleton::Known(size_to)) = (from.kind(), sk_to) {

0 commit comments

Comments
 (0)