summaryrefslogtreecommitdiff
path: root/chain/src/atom
diff options
context:
space:
mode:
Diffstat (limited to 'chain/src/atom')
-rw-r--r--chain/src/atom/default.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/src/atom/default.rs b/chain/src/atom/default.rs
index e156178..6ae924f 100644
--- a/chain/src/atom/default.rs
+++ b/chain/src/atom/default.rs
@@ -123,7 +123,7 @@ impl DefaultAtom {
.accepting_vec
.iter()
.enumerate()
- .filter_map(|(index, pred)| (*pred).then(|| index))
+ .filter_map(|(index, pred)| (*pred).then_some(index))
{
print!("{nullable}, ");
}