We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cce01b commit 50fb303Copy full SHA for 50fb303
crates/hir-ty/src/infer/coerce.rs
@@ -373,7 +373,7 @@ impl InferenceTable<'_> {
373
// Check that the types which they point at are compatible.
374
let from_raw = TyKind::Raw(to_mt, from_inner.clone()).intern(Interner);
375
376
- // Although references and unsafe ptrs have the same
+ // Although references and raw ptrs have the same
377
// representation, we still register an Adjust::DerefRef so that
378
// regionck knows that the region for `a` must be valid here.
379
if is_ref {
0 commit comments