Skip to content

Commit

Permalink
chore: clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
chrjabs committed Apr 4, 2024
1 parent 0ea68ca commit f78c6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipasir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl Default for IpasirSolver<'_, '_> {

impl IpasirSolver<'_, '_> {
fn get_core_assumps(&self, assumps: &[Lit]) -> Result<Vec<Lit>, InvalidApiReturn> {
let mut core = Vec::new();
let mut core = Vec::with_capacity(assumps.len());
core.reserve(assumps.len());
for a in assumps {
match unsafe { ffi::ipasir_failed(self.handle, a.to_ipasir()) } {
Expand Down

0 comments on commit f78c6d2

Please sign in to comment.