about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-03-20 00:55:36 +0100
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2023-03-20 00:55:36 +0100
commit7ab612a7eea5151ed0a47fd7b98aff5e114b3e07 (patch)
treea4829e979e1ce24cbb336fde27fb9182d4337728
parent8ca0f61fe322d11c6ea807d212c70a4b2b236967 (diff)
downloadrust-7ab612a7eea5151ed0a47fd7b98aff5e114b3e07.tar.gz
rust-7ab612a7eea5151ed0a47fd7b98aff5e114b3e07.zip
remove bad comment
-rw-r--r--compiler/rustc_lint/src/builtin.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/builtin.rs b/compiler/rustc_lint/src/builtin.rs
index ca3865c2c00..b1ff76865ab 100644
--- a/compiler/rustc_lint/src/builtin.rs
+++ b/compiler/rustc_lint/src/builtin.rs
@@ -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() {