Skip to content

Commit

Permalink
make format happy
Browse files Browse the repository at this point in the history
  • Loading branch information
xffxff committed Sep 19, 2023
1 parent 358cffc commit 4c4c2aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/lox-ir/src/token_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ pub struct TokenTree {
}

impl DebugWithDb<dyn crate::Db> 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))
Expand Down

0 comments on commit 4c4c2aa

Please sign in to comment.