We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cee2df2 commit 54ad31bCopy full SHA for 54ad31b
src/tools/rust-analyzer/crates/hir-ty/src/infer/expr.rs
@@ -2132,8 +2132,8 @@ impl InferenceContext<'_> {
2132
for kind_id in def_generics.iter_self_id().take(self_params) {
2133
let arg = args.peek();
2134
let arg = match (kind_id, arg) {
2135
- // Lifetimes can be elided.
2136
- // Once we have implemented lifetime elision correctly,
+ // Lifetimes can be inferred.
+ // Once we have implemented lifetime inference correctly,
2137
// this should be handled in a proper way.
2138
(
2139
GenericParamId::LifetimeParamId(_),
0 commit comments