Skip to content

Commit 50fb303

Browse files
committed
Extend the renaming to coerce_unsafe_ptr
1 parent 6cce01b commit 50fb303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crates/hir-ty/src/infer/coerce.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ impl InferenceTable<'_> {
373373
// Check that the types which they point at are compatible.
374374
let from_raw = TyKind::Raw(to_mt, from_inner.clone()).intern(Interner);
375375

376-
// Although references and unsafe ptrs have the same
376+
// Although references and raw ptrs have the same
377377
// representation, we still register an Adjust::DerefRef so that
378378
// regionck knows that the region for `a` must be valid here.
379379
if is_ref {

0 commit comments

Comments
 (0)