You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should have a #[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))] attribute, but putting it on the macro invocation won't result in it showing up in rustdoc (I tested it). You can see the result here. By contract, here's what it should look like.
The text was updated successfully, but these errors were encountered:
Use the `doc(cfg(...))` syntax in more places when generating
documentation:
- `impl<T> FromZeroes for Option<Box<T>>`
- trait impls for simd types
Release 0.7.26.
Closes#597
Use the `doc(cfg(...))` syntax in more places when generating
documentation:
- `impl<T> FromZeroes for Option<Box<T>>`
- trait impls for simd types
Release 0.7.26.
Closes#597
zerocopy/src/lib.rs
Lines 1907 to 1908 in dcadae6
This should have a
#[cfg_attr(doc_cfg, doc(cfg(feature = "alloc")))]
attribute, but putting it on the macro invocation won't result in it showing up in rustdoc (I tested it). You can see the result here. By contract, here's what it should look like.The text was updated successfully, but these errors were encountered: