Skip to content

Commit ccab2da

Browse files
committed
typo
Signed-off-by: Karan Janthe <[email protected]>
1 parent 73f2e2f commit ccab2da

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

0 commit comments

Comments
 (0)