aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-06 12:36:25 +0100
committerGitHub <[email protected]>2020-10-06 12:36:25 +0100
commit69512dae26278f06b5ac96a7b6093abb69cdd040 (patch)
treef390143fdb1feea0b6a32cef9fad7907538fb8ef /crates/test_utils/src/lib.rs
parentcb78c40b0ed1e8cf609457d63c5137022d2e1907 (diff)
parentaf4ae86e2700209283333490da377767e00f5ed2 (diff)
Merge #6147
6147: Do not leave braces for colons in dbg! r=matklad a=SomeoneToIgnore Tweak remove dbg heuristics a bit to remove braces when colons (`:`) are used in the non-leaf dbg expressions. Before: `dbg!(Foo::foo_test()).bar()` -> `(Foo::foo_test()).bar()` After: `dbg!(Foo::foo_test()).bar()` -> `Foo::foo_test().bar()` Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/test_utils/src/lib.rs')
0 files changed, 0 insertions, 0 deletions