···1111 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1212 match self {
1313 SyntaxError::MissingClosingBracket(line, col) => {
1414- write!(f, "for open bracket at line {:?}, col {:?}", line, col)
1414+ write!(
1515+ f,
1616+ "Missing closing bracket for open bracket at line {}, col {}",
1717+ line, col
1818+ )
1519 }
1620 SyntaxError::MissingOpenBracket(line, col) => {
1717- write!(f, "for closing bracket at line {:?}, col {:?}", line, col)
2121+ write!(
2222+ f,
2323+ "Missing open bracket for closing bracket at line {}, col {}",
2424+ line, col
2525+ )
1826 }
1927 }
2028 }