Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/test-fixture/src/lib.rs')
-rw-r--r--crates/test-fixture/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/test-fixture/src/lib.rs b/crates/test-fixture/src/lib.rs
index 1a042b2dea..b5ff7a1bf5 100644
--- a/crates/test-fixture/src/lib.rs
+++ b/crates/test-fixture/src/lib.rs
@@ -354,7 +354,7 @@ impl ChangeFixture {
files,
change: Change {
source_change,
- proc_macros: proc_macros.is_empty().not().then(|| proc_macros),
+ proc_macros: proc_macros.is_empty().not().then_some(proc_macros),
},
}
}