style: cargo fmt fix

This commit is contained in:
Hanmiao Li
2026-05-28 11:55:36 +08:00
parent e9026814be
commit ff1a8cd44b
+2 -4
View File
@@ -1500,10 +1500,8 @@ async fn run_event_loop(
&& ledger.has_open_entries()
{
if let Some(gate_msg) = ledger.completion_gate_summary() {
let short = gate_msg
.lines()
.nth(4)
.unwrap_or("review before done");
let short =
gate_msg.lines().nth(4).unwrap_or("review before done");
app.push_status_toast(
format!("⚠️ SlopLedger: {short}"),
crate::tui::app::StatusToastLevel::Warning,