Skip to content

Commit d584119

Browse files
committed
typo
Signed-off-by: Karan Janthe <[email protected]>
1 parent 07685f3 commit d584119

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,7 @@ pub fn fnc_typetrees<'tcx>(
24192419
}
24202420
};
24212421
if inner_ty.is_slice() {
2422-
// We know that the lenght will be passed as extra arg.
2422+
// We know that the length will be passed as extra arg.
24232423
let child = typetree_from_ty(inner_ty, tcx, 1, safety, &mut visited, span);
24242424
let tt = Type { offset: -1, kind: Kind::Pointer, size: 8, child };
24252425
args.push(TypeTree(vec![tt]));

0 commit comments

Comments
 (0)