mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Typo fix
This commit is contained in:
parent
f0428e57ea
commit
983cce8c31
@ -686,9 +686,9 @@ pub(crate) fn convert_reference_type(
|
||||
}
|
||||
|
||||
fn could_deref_to_target(ty: &hir::Type, target: &hir::Type, db: &dyn HirDatabase) -> bool {
|
||||
let ty_ref = hir:Type::reference(ty, hir::Mutability::Shared);
|
||||
let target_ref = hir:Type::reference(target, hir::Mutability::Shared);
|
||||
ty_ref.could_coerece_to(db, &target_ref)
|
||||
let ty_ref = hir::Type::reference(ty, hir::Mutability::Shared);
|
||||
let target_ref = hir::Type::reference(target, hir::Mutability::Shared);
|
||||
ty_ref.could_coerce_to(db, &target_ref)
|
||||
}
|
||||
|
||||
fn handle_copy(ty: &hir::Type, db: &dyn HirDatabase) -> Option<(ReferenceConversionType, bool)> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user