Skip to content

Commit

Permalink
Remove duplicate.
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Jan 24, 2022
1 parent 1ec8b53 commit b0decf7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ This will generate trait implementations for `Example` for any `T`,
as opposed to std's derives, which would only implement these traits with
`T: Trait` bound to the corresponding trait.

Multiple `derive_where` attributes can be added to an item, but only the
first one should use any path qualifications. Otherwise helper attributes
won't be applied to any but the first `derive_where` attribute on the item.

```rust
#[derive_where::derive_where(Clone, Debug)]
#[derive_where(Default, Hash)]
struct Example<T>(PhantomData<T>);
```

Multiple `derive_where` attributes can be added to an item, but only the
first one must use any path qualifications.

Expand Down

0 comments on commit b0decf7

Please sign in to comment.