remove bad comment
This commit is contained in:
parent
8ca0f61fe3
commit
7ab612a7ee
1 changed files with 0 additions and 1 deletions
|
@ -2781,7 +2781,6 @@ impl ClashingExternDeclarations {
|
||||||
|
|
||||||
// Given a transparent newtype, reach through and grab the inner
|
// Given a transparent newtype, reach through and grab the inner
|
||||||
// type unless the newtype makes the type non-null.
|
// 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> {
|
let non_transparent_ty = |mut ty: Ty<'tcx>| -> Ty<'tcx> {
|
||||||
loop {
|
loop {
|
||||||
if let ty::Adt(def, substs) = *ty.kind() {
|
if let ty::Adt(def, substs) = *ty.kind() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue