about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlukaslueg <lukas.lueg@gmail.com>2021-02-14 23:33:43 +0100
committerGitHub <noreply@github.com>2021-02-14 23:33:43 +0100
commit3d7fcfff76452202a5da532b7cd790fdc53e988b (patch)
treef10130053efb2a61ac8ac72bc3fce5d220ff96af
parentdee54244a68c33df5bcb375c3138a42aa80acb50 (diff)
downloadrust-3d7fcfff76452202a5da532b7cd790fdc53e988b.tar.gz
rust-3d7fcfff76452202a5da532b7cd790fdc53e988b.zip
Update library/core/src/macros/mod.rs
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/core/src/macros/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs
index 82272c451c3..b3802c1abde 100644
--- a/library/core/src/macros/mod.rs
+++ b/library/core/src/macros/mod.rs
@@ -816,7 +816,7 @@ pub(crate) mod builtin {
     #[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.