mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-12 05:12:39 +00:00
Apply review fixes
- crates/compose/src/grep.rs
This commit is contained in:
1 parent
8ef09e8ed9
commit
97bb82816e
1 file changed
+1
-1
@@ -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))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user