Unnamed repository; edit this file 'description' to name the repository.
Fix typo in cfg
Laurențiu Nicola 2023-12-11
parent d1217c2 · commit 9fd0ba0
-rw-r--r--crates/hir-expand/src/eager.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-expand/src/eager.rs b/crates/hir-expand/src/eager.rs
index ef7200f615..1e2722e846 100644
--- a/crates/hir-expand/src/eager.rs
+++ b/crates/hir-expand/src/eager.rs
@@ -73,7 +73,7 @@ pub fn expand_eager_macro_input(
)
};
let err = parse_err.or(err);
- if cfg!(debug) {
+ if cfg!(debug_assertions) {
arg_map.finish();
}