Mention env!
in option_env!
's docs
This commit is contained in:
parent
7b0eac438a
commit
cfe2e4660d
@ -960,6 +960,8 @@ pub(crate) mod builtin {
|
|||||||
///
|
///
|
||||||
/// A compile time error is never emitted when using this macro regardless
|
/// A compile time error is never emitted when using this macro regardless
|
||||||
/// of whether the environment variable is present or not.
|
/// of whether the environment variable is present or not.
|
||||||
|
/// To emit a compile error if the environment variable is not present,
|
||||||
|
/// use the [`env!`] macro instead.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user