Skip to content

Commit 364fd6a

Browse files
committed
fixing todo issue
Signed-off-by: Karan Janthe <[email protected]>
1 parent 5bc4a1c commit 364fd6a

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,11 +2410,10 @@ fn typetree_from_ty<'a>(
24102410

24112411
if adt_def.is_struct() {
24122412
let (offsets, _memory_index) = match fields {
2413-
// Manuel TODO:
24142413
FieldsShape::Arbitrary { offsets: o, memory_index: m } => (o, m),
24152414
FieldsShape::Array { .. } => {
24162415
return TypeTree::new();
2417-
} //e.g. core::arch::x86_64::__m128i, TODO: later
2416+
} //e.g. core::arch::x86_64::__m128i
24182417
FieldsShape::Union(_) => {
24192418
return TypeTree::new();
24202419
}
@@ -2484,7 +2483,6 @@ fn typetree_from_ty<'a>(
24842483
// .flatten()
24852484
// .collect(),
24862485
//);
2487-
// TODO
24882486
visited.pop();
24892487
return TypeTree::new();
24902488
}

0 commit comments

Comments
 (0)