about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_middle/src/ty/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/util.rs b/compiler/rustc_middle/src/ty/util.rs
index 2d83b9f8ef1..542014dcce7 100644
--- a/compiler/rustc_middle/src/ty/util.rs
+++ b/compiler/rustc_middle/src/ty/util.rs
@@ -1328,7 +1328,7 @@ impl<'tcx> Ty<'tcx> {
             )
     }
 
-    /// Checks whether values of this type `T` implements the `AsyncDrop`
+    /// Checks whether values of this type `T` implements the `Drop`
     /// trait.
     pub fn has_surface_drop(self, tcx: TyCtxt<'tcx>, param_env: ty::ParamEnv<'tcx>) -> bool {
         self.could_have_surface_drop() && tcx.has_surface_drop_raw(param_env.and(self))