We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
env!
1 parent 57ed947 commit 2b62a8eCopy full SHA for 2b62a8e
core/src/macros/mod.rs
@@ -1053,7 +1053,8 @@ pub(crate) mod builtin {
1053
///
1054
/// If the environment variable is not defined, then a compilation error
1055
/// will be emitted. To not emit a compile error, use the [`option_env!`]
1056
- /// macro instead.
+ /// macro instead. A compilation error will also be emitted if the
1057
+ /// environment variable is not a vaild Unicode string.
1058
1059
/// # Examples
1060
0 commit comments