fix(prettier) remove unmatched brace when displaying doc (#1564)

This commit is contained in:
Cameron 2023-11-28 02:50:25 +00:00 committed by GitHub
parent 83f25fc9b3
commit 2bfd28e6f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ pub trait DocBuilder<'a> {
impl<'a> fmt::Display for Doc<'a> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{})", print_doc_to_debug(self))
write!(f, "{}", print_doc_to_debug(self))
}
}