fix formatting issue

This commit is contained in:
Folkert 2021-02-14 16:09:59 +01:00
parent 02e161f839
commit c4e606bcc6
2 changed files with 36 additions and 2 deletions

View file

@ -1620,8 +1620,8 @@ fn to_diff<'b>(
pair => {
// We hit none of the specific cases where we give more detailed information
let left = to_doc(alloc, Parens::Unnecessary, type1);
let right = to_doc(alloc, Parens::Unnecessary, type2);
let left = to_doc(alloc, parens, type1);
let right = to_doc(alloc, parens, type2);
let is_int = |t: &ErrorType| match t {
ErrorType::Type(Symbol::NUM_INT, _) => true,