Apply review fixes

- crates/compose/src/grep.rs
This commit is contained in:
aiongg committed 2026-11-03 19:57:14 +00:00
1 parent 8ef09e8ed9
commit 97bb82816e
1 file changed
+1 -1
+1 -1
View File
@@ -428,7 +428,7 @@ impl Grep {
out.push(r);
}
}
let more = out.len() < limit && it.next().is_some();
let more = out.len() < limit && it.next().transpose().map_err(run_err)?.is_some();
Ok((out, more))
}