Skip to content

Reference doc on cfg does not cover cfg(feature = "...") #34803

Closed
@dhardy

Description

@dhardy

Rust appears to support #[cfg(feature = "foo")] to control optional features: Cargo doc.

The Rust reference on cfg does not mention feature: nightly doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions