Skip to content

Commit

Permalink
Fixed doc and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob2309 committed Jan 18, 2023
1 parent 3a7345a commit 5fca14f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use derive_debug::Dbg;
struct Foo {
field_a: u32,
#[dbg(placeholder = "...")]
field_b: SomeOtherType // will be printed as "field_b: ..."
field_b: Vec<u32>, // will be printed as "field_b: ..."
#[dbg(skip)]
field_c: bool, // will be left out
#[dbg(alias = "my_string")]
Expand Down
2 changes: 1 addition & 1 deletion tests/ensure_derive_works.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(unused)]
#![allow(unused, clippy::enum_variant_names, clippy::disallowed_names)]

use derive_debug::Dbg;

Expand Down

0 comments on commit 5fca14f

Please sign in to comment.