Flag to rustdoc component support requires a feature (#5632)

This helps render the information "officially" in documentation.
This commit is contained in:
Alex Crichton
2023-01-25 11:00:34 -06:00
committed by GitHub
parent a7d0d00e57
commit 38bf38c514

View File

@@ -3,6 +3,8 @@
//! This module is a work-in-progress and currently represents an incomplete and //! This module is a work-in-progress and currently represents an incomplete and
//! probably buggy implementation of the component model. //! probably buggy implementation of the component model.
#![cfg_attr(nightlydoc, doc(cfg(feature = "component-model")))]
mod component; mod component;
mod func; mod func;
mod instance; mod instance;