possible misuse of #[zenoh_macros::unstable]
and #[zenoh_macros::unstable_doc]
#1074
Labels
release
Part of the next release
Describe the release item
The
#[zenoh_macros::unstable]
is fully equal to#[cfg(attribute="unstable")]
The
#[zenoh_macros::unstable_doc]
gives additional functionality: it adds information to documnatation that this is unstable feature.Also just
#[cfg(attribute="unstable")]
is actively usedThe proposal is:
#[zenoh_macros::unstable]
: replace it to#[cfg(attribute="unstable")]
for pieces of code and to#[zenoh_macros::unstable_doc]
where the documentation should be corrected.#[zenoh_macros::unstable_doc]
forbidding it's usage if no documentation for item existsThe text was updated successfully, but these errors were encountered: