We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pub
derive(Zeroable)
1 parent 3488b8b commit e8311e5Copy full SHA for e8311e5
CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
### Changed
15
16
- `InPlaceInit` now only exists when the `alloc` or `std` features are enabled
17
+- added support for visibility in `Zeroable` derive macro
18
19
## [0.0.9] - 2024-12-02
20
src/macros.rs
@@ -1393,7 +1393,7 @@ macro_rules! __derive_zeroable {
1393
@body({
1394
$(
1395
$(#[$($field_attr:tt)*])*
1396
- $field:ident : $field_ty:ty
+ $field_vis:vis $field:ident : $field_ty:ty
1397
),* $(,)?
1398
}),
1399
) => {
0 commit comments