Skip to content

Commit 5fca14f

Browse files
committed
Fixed doc and tests
1 parent 3a7345a commit 5fca14f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use derive_debug::Dbg;
1313
struct Foo {
1414
field_a: u32,
1515
#[dbg(placeholder = "...")]
16-
field_b: SomeOtherType // will be printed as "field_b: ..."
16+
field_b: Vec<u32>, // will be printed as "field_b: ..."
1717
#[dbg(skip)]
1818
field_c: bool, // will be left out
1919
#[dbg(alias = "my_string")]

tests/ensure_derive_works.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(unused)]
1+
#![allow(unused, clippy::enum_variant_names, clippy::disallowed_names)]
22

33
use derive_debug::Dbg;
44

0 commit comments

Comments
 (0)