about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-11-09 00:58:10 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-11-19 17:50:47 +0000
commit00265f0cc0e963f83d76b3c43c9d41e839522778 (patch)
treece557aa865a50b51a3f45a3686e125693ce6b7ad
parent69edf8e78499214e5072d6908c77749359929d66 (diff)
downloadrust-00265f0cc0e963f83d76b3c43c9d41e839522778.tar.gz
rust-00265f0cc0e963f83d76b3c43c9d41e839522778.zip
fix tidy
-rw-r--r--compiler/rustc_resolve/src/late/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs
index 28f77b31124..a0b0abd6555 100644
--- a/compiler/rustc_resolve/src/late/diagnostics.rs
+++ b/compiler/rustc_resolve/src/late/diagnostics.rs
@@ -1790,7 +1790,7 @@ impl<'a: 'ast, 'ast, 'tcx> LateResolutionVisitor<'a, '_, 'ast, 'tcx> {
             }
         }
         // We'd ideally use `type_implements_trait` but don't have access to
-        // the trait solver here.  We can't use `get_diagnostic_item` or
+        // the trait solver here. We can't use `get_diagnostic_item` or
         // `all_traits` in resolve either. So instead we abuse the import
         // suggestion machinery to get `std::default::Default` and perform some
         // checks to confirm that we got *only* that trait. We then see if the