Skip to content

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

Closed
@steveklabnik

Description

@steveklabnik

Migrated from rust-lang/rust#34803


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-attributesArea: AttributesE-EasyWe believe this would not be difficult to actually fixNew ContentMissing features or aspects of language not currently documented.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions