Skip to content

Commit cd9753d

Browse files
committed
fixing todo issue
Signed-off-by: Karan Janthe <[email protected]>
1 parent d584119 commit cd9753d

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
@@ -2546,11 +2546,10 @@ fn typetree_from_ty<'a>(
25462546

25472547
if adt_def.is_struct() {
25482548
let (offsets, _memory_index) = match fields {
2549-
// Manuel TODO:
25502549
FieldsShape::Arbitrary { offsets: o, memory_index: m } => (o, m),
25512550
FieldsShape::Array { .. } => {
25522551
return TypeTree::new();
2553-
} //e.g. core::arch::x86_64::__m128i, TODO: later
2552+
} //e.g. core::arch::x86_64::__m128i
25542553
FieldsShape::Union(_) => {
25552554
return TypeTree::new();
25562555
}
@@ -2620,7 +2619,6 @@ fn typetree_from_ty<'a>(
26202619
// .flatten()
26212620
// .collect(),
26222621
//);
2623-
// TODO
26242622
visited.pop();
26252623
return TypeTree::new();
26262624
}

0 commit comments

Comments
 (0)