Skip to content

Commit 68bb31c

Browse files
Change Debug unimplemented message per request
1 parent cdee78c commit 68bb31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ impl Display for Arguments<'_> {
564564
on(
565565
crate_local,
566566
label = "`{Self}` cannot be formatted using `{{:?}}`",
567-
note = "add `#[derive(Debug)]` to `{Self}` or manually implement `{Debug}` for `{Self}`"
567+
note = "add `#[derive(Debug)]` to `{Self}` or manually `impl {Debug} for {Self}`"
568568
),
569569
message = "`{Self}` doesn't implement `{Debug}`",
570570
label = "`{Self}` cannot be formatted using `{{:?}}` because it doesn't implement `{Debug}`"

0 commit comments

Comments
 (0)