Skip to content

Commit

Permalink
remove bad comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Mar 19, 2023
1 parent 8ca0f61 commit 7ab612a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_lint/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2781,7 +2781,6 @@ impl ClashingExternDeclarations {

// Given a transparent newtype, reach through and grab the inner
// type unless the newtype makes the type non-null.
// Also returns whether this type is a ZST.
let non_transparent_ty = |mut ty: Ty<'tcx>| -> Ty<'tcx> {
loop {
if let ty::Adt(def, substs) = *ty.kind() {
Expand Down

0 comments on commit 7ab612a

Please sign in to comment.