Skip to content

Commit 3ddfb67

Browse files
authored
Merge pull request #4190 from rust-lang/rustup-2025-02-13
Automatic Rustup
2 parents 078a5b6 + 1b4ce6f commit 3ddfb67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/infer/coerce.rs

Lines changed: 1 addition & 1 deletion
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)