minor: correct close to closure

This commit is contained in:
Young-Flash 2024-01-31 21:26:30 +08:00
parent db9fd370ee
commit 62ff8f33d4

View file

@ -359,8 +359,8 @@ impl MirEvalError {
func
)?;
}
Either::Right(close) => {
writeln!(f, "In {:?}", close)?;
Either::Right(closure) => {
writeln!(f, "In {:?}", closure)?;
}
}
let source_map = db.body_with_source_map(*def).1;