Skip to content

Commit 08a4628

Browse files
Centrilllogiq
andauthored
Apply suggestions from code review
Use dbg! recursively on each item Co-Authored-By: llogiq <[email protected]>
1 parent 8816a9a commit 08a4628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ macro_rules! dbg {
341341
}
342342
}
343343
};
344-
($val:expr, $($more:expr),+) => {
345-
dbg!(($val, $($more),*))
344+
($($val:expr),+ $(,)?) => {
345+
($(dbg!($val)),+,)
346346
}
347347
}
348348

0 commit comments

Comments
 (0)