Skip to content

Commit 5bc4a1c

Browse files
committed
typo
Signed-off-by: Karan Janthe <[email protected]>
1 parent 199cffe commit 5bc4a1c

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
@@ -2283,7 +2283,7 @@ pub fn fnc_typetrees<'tcx>(
22832283
}
22842284
};
22852285
if inner_ty.is_slice() {
2286-
// We know that the lenght will be passed as extra arg.
2286+
// We know that the length will be passed as extra arg.
22872287
let child = typetree_from_ty(inner_ty, tcx, 1, safety, &mut visited, span);
22882288
let tt = Type { offset: -1, kind: Kind::Pointer, size: 8, child };
22892289
args.push(TypeTree(vec![tt]));

0 commit comments

Comments
 (0)