about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2023-12-19 14:25:24 +0100
committerLeón Orell Valerian Liehr <me@fmease.dev>2023-12-19 14:25:24 +0100
commitffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e (patch)
tree14b8ac0c315f348053603ac840343dabf4dd48d7 /compiler/rustc_hir_analysis/src
parentbf9229a2e366b4c311f059014a4aa08af16de5d8 (diff)
downloadrust-ffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e.tar.gz
rust-ffdc6c7b65b3d5bc8b2f1a6aaf1877552cb2541e.zip
effects: fix comment
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
-rw-r--r--compiler/rustc_hir_analysis/src/astconv/generics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/astconv/generics.rs b/compiler/rustc_hir_analysis/src/astconv/generics.rs
index be73c027fdc..b495b00ec70 100644
--- a/compiler/rustc_hir_analysis/src/astconv/generics.rs
+++ b/compiler/rustc_hir_analysis/src/astconv/generics.rs
@@ -262,7 +262,7 @@ pub fn create_args_for_parent_generic_args<'tcx, 'a>(
                             // impl const PartialEq for () {}
                             // ```
                             //
-                            // Since this is a const impl, we need to insert `<false>` at the end of
+                            // Since this is a const impl, we need to insert a host arg at the end of
                             // `PartialEq`'s generics, but this errors since `Rhs` isn't specified.
                             // To work around this, we infer all arguments until we reach the host param.
                             args.push(ctx.inferred_kind(Some(&args), param, infer_args));