Skip to content

Commit 16264a3

Browse files
committed
fixup a doc comment
1 parent 3033c3d commit 16264a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/infer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ impl<'a> InferenceContext<'a> {
688688
}
689689
}
690690

691-
/// Replaces Ty::Unknown by a new type var, so we can maybe still infer it.
691+
/// Replaces `Ty::Error` by a new type var, so we can maybe still infer it.
692692
fn insert_type_vars_shallow(&mut self, ty: Ty) -> Ty {
693693
match ty.kind(Interner) {
694694
TyKind::Error => self.table.new_type_var(),

0 commit comments

Comments
 (0)