Update library/core/src/macros/mod.rs

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
lukaslueg 2021-02-14 23:33:43 +01:00 committed by GitHub
parent dee54244a6
commit 3d7fcfff76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -816,7 +816,7 @@ macro_rules! format_args_nl {
#[macro_export]
macro_rules! env {
($name:expr $(,)?) => {{ /* compiler built-in */ }};
($name:expr, $error_msg:expr) => {{ /* compiler built-in */ }};
($name:expr, $error_msg:expr $(,)?) => {{ /* compiler built-in */ }};
}
/// Optionally inspects an environment variable at compile time.