Skip to main content

max / goingson

Take then_some for the all-day list Pre-existing clippy warning, unrelated to the mapping pass that found it. The closure captures nothing lazily worth deferring.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-15 19:01 UTC
Signed with PGP, not checked
Commit: 5cc541f030b04fd3cf1e13725d5cad140d658222
Parent: ef7e87c
1 file changed, +1 insertion, -1 deletion
@@ -175,7 +175,7 @@
175 175 .map(|item| row_for(item, false))
176 176 .collect();
177 177
178 - (!rows.is_empty()).then(|| Node::List { rows, more: None })
178 + (!rows.is_empty()).then_some(Node::List { rows, more: None })
179 179 }
180 180
181 181 /// The unscheduled pool.