Skip to content

Commit

Permalink
Merge pull request mcarton#15 from dwijnand/patch-1
Browse files Browse the repository at this point in the history
Fix typo in Default docs
  • Loading branch information
mcarton authored Mar 12, 2018
2 parents c8941af + 69a8648 commit 162742a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Default.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ that calls `Default::default`:

```rust
#[derive(Debug, Derivative)]
#[derivative(Default(new="true")]
#[derivative(Default(new="true"))]
struct Foo {
foo: u8,
bar: u8,
Expand Down

0 comments on commit 162742a

Please sign in to comment.