fixup a doc comment
This commit is contained in:
parent
3033c3ddbf
commit
16264a3a53
@ -688,7 +688,7 @@ fn insert_const_vars_shallow(&mut self, c: Const) -> Const {
|
||||
}
|
||||
}
|
||||
|
||||
/// Replaces Ty::Unknown by a new type var, so we can maybe still infer it.
|
||||
/// Replaces `Ty::Error` by a new type var, so we can maybe still infer it.
|
||||
fn insert_type_vars_shallow(&mut self, ty: Ty) -> Ty {
|
||||
match ty.kind(Interner) {
|
||||
TyKind::Error => self.table.new_type_var(),
|
||||
|
Loading…
Reference in New Issue
Block a user