From 4c4c2aadcbcee6744f2d0cf31e3963b07df900d2 Mon Sep 17 00:00:00 2001 From: XFFXFF <1247714429@qq.com> Date: Tue, 19 Sep 2023 17:16:01 +0800 Subject: [PATCH] make format happy --- components/lox-ir/src/token_tree.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/lox-ir/src/token_tree.rs b/components/lox-ir/src/token_tree.rs index 6d32cdc..d410475 100644 --- a/components/lox-ir/src/token_tree.rs +++ b/components/lox-ir/src/token_tree.rs @@ -14,7 +14,12 @@ pub struct TokenTree { } impl DebugWithDb for TokenTree { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>, db: &dyn crate::Db, _include_all_fields: bool) -> std::fmt::Result { + fn fmt( + &self, + f: &mut std::fmt::Formatter<'_>, + db: &dyn crate::Db, + _include_all_fields: bool, + ) -> std::fmt::Result { f.debug_struct("TokenTree") .field("source text", &self.input_file(db).source_text(db)) .field("tokens", &self.tokens(db).debug(db))