Skip to content

Commit a7ff98e

Browse files
committed
rust-analyzer: Rename LayoutS to LayoutData in comments
1 parent 78c2ef2 commit a7ff98e

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-ty/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ pub fn layout_of_ty_query(
268268

269269
// let pointee = tcx.normalize_erasing_regions(param_env, pointee);
270270
// if pointee.is_sized(tcx.at(DUMMY_SP), param_env) {
271-
// return Ok(tcx.mk_layout(LayoutS::scalar(cx, data_ptr)));
271+
// return Ok(tcx.mk_layout(LayoutData::scalar(cx, data_ptr)));
272272
// }
273273

274274
let mut unsized_part = struct_tail_erasing_lifetimes(db, pointee.clone());

0 commit comments

Comments
 (0)