Skip to content

Commit 6080089

Browse files
build: Lint against dbg_macro (#2803)
Lately, I have been using the `dbg!` macro frequently for local development. Enabling the [`dbg-macro` lint](https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro) will ensure I don't accidentally commit any of these `dbg!` statements.
1 parent 5217470 commit 6080089

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ with_crash_reporting = []
9696

9797
[workspace.lints.clippy]
9898
allow-attributes = "warn"
99+
dbg-macro = "warn"
99100
str-to-string = "warn"
100101
string-to-string = "warn"
101102
tests-outside-test-module = "warn"

0 commit comments

Comments
 (0)