Skip to content

Commit 78507a2

Browse files
committed
Document new feature
1 parent 7e5d117 commit 78507a2

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Allow skipping fields for `Clone`, calling `Default::default()` instead.
12-
**Note:** `Clone` is excluded from `#[derive_where(skip)]` to avoid this being a breaking change.
12+
**Note:** `Clone` is excluded from blanket skipping and can only be used with
13+
selective skipping to avoid this being a breaking change.
1314

1415
## [1.3.0] - 2025-04-21
1516

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ Selective skipping of fields for certain traits is also an option, both in
144144
`skip` and `skip_inner`. To prevent breaking invariants defined for these
145145
traits, some of them can only be skipped in groups. The following groups are
146146
available:
147+
- [`Clone`]: Uses [`Default`] instead of [`Clone`].
147148
- [`Debug`]
148149
- `EqHashOrd`: Skips [`Eq`], [`Hash`], [`Ord`], [`PartialOrd`] and
149150
[`PartialEq`].

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
//! `skip` and `skip_inner`. To prevent breaking invariants defined for these
171171
//! traits, some of them can only be skipped in groups. The following groups are
172172
//! available:
173+
//! - [`Clone`]: Uses [`Default`] instead of [`Clone`].
173174
//! - [`Debug`]
174175
//! - `EqHashOrd`: Skips [`Eq`], [`Hash`], [`Ord`], [`PartialOrd`] and
175176
//! [`PartialEq`].

0 commit comments

Comments
 (0)