Skip to content

Commit 47a73fc

Browse files
committed
fix(rust): Fix error message suggestion for disallowed Debug derivation macro
1 parent a2c0a21 commit 47a73fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

earthly/rust/stdcfgs/clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ allow-expect-in-tests = true
33
allow-panic-in-tests = true
44
arithmetic-side-effects-allowed = ["num_bigint::BigInt"]
55
disallowed-macros = [
6-
{ path = "std::fmt::Debug", reason = "Debug Formatting not permitted in production release code.\nUse #[cfg_attr(debug_assertions, derive(Debug)] instead." },
6+
{ path = "std::fmt::Debug", reason = "Debug Formatting not permitted in production release code.\nUse `#[cfg_attr(debug_assertions, derive(Debug))]` instead." },
77
]

0 commit comments

Comments
 (0)