mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
fix: typos in hir-ty
This commit is contained in:
parent
d4b79ad77b
commit
f2963cf8ff
2 changed files with 2 additions and 2 deletions
|
@ -868,7 +868,7 @@ impl<'a> InferenceContext<'a> {
|
|||
match rhs_ty.kind(Interner) {
|
||||
TyKind::Array(_, _) => rhs_ty.clone(),
|
||||
// Even when `rhs_ty` is not an array type, this assignee
|
||||
// expression is infered to be an array (of unknown element
|
||||
// expression is inferred to be an array (of unknown element
|
||||
// type and length). This should not be just an error type,
|
||||
// because we are to compute the unifiability of this type and
|
||||
// `rhs_ty` in the end of this function to issue type mismatches.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue