Skip to content

std::env::var should mention env! or option_env! #138159

Closed
@cyrgani

Description

@cyrgani

Location

std::env::var

Summary

std::env::var operates at runtime, env! and option_env! at compile time.
The reverse link from the macro to the function exists already, but env! / option_env! should also be mentioned in std::env::var's docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions