diff options
| author | Bastian Kersting <bkersting@google.com> | 2025-01-24 14:58:33 +0000 |
|---|---|---|
| committer | Bastian Kersting <bkersting@google.com> | 2025-02-10 13:01:55 +0000 |
| commit | 432ff5e5599d7d2de01db6a2d66c3a6e18e2c7ba (patch) | |
| tree | 96afb2804444cc017570918709b8de6147779b04 /src/tools | |
| parent | f842ee824534e2dbf3c2976f8007890b2238e3c5 (diff) | |
Extend the renaming to coerce_unsafe_ptr
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-ty/src/infer/coerce.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/infer/coerce.rs b/src/tools/rust-analyzer/crates/hir-ty/src/infer/coerce.rs index d40816ba8ce..956d4de0715 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/infer/coerce.rs +++ b/src/tools/rust-analyzer/crates/hir-ty/src/infer/coerce.rs @@ -373,7 +373,7 @@ impl InferenceTable<'_> { // Check that the types which they point at are compatible. let from_raw = TyKind::Raw(to_mt, from_inner.clone()).intern(Interner); - // Although references and unsafe ptrs have the same + // Although references and raw ptrs have the same // representation, we still register an Adjust::DerefRef so that // regionck knows that the region for `a` must be valid here. if is_ref { |
