Skip to content

Commit 516f033

Browse files
authored
test: update criterion dependency (pubgrub-rs#169)
1 parent d97491e commit 516f033

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ log = "0.4.14" # for debug logs in tests
3131
proptest = "0.10.1"
3232
ron = "0.6"
3333
varisat = "0.2.2"
34-
criterion = "0.3"
34+
criterion = "0.5"
3535
env_logger = "0.9.0"
3636

3737
[[bench]]

src/internal/incompatibility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ impl<'a, P: Package, VS: VersionSet + 'a> Incompatibility<P, VS> {
280280
if relation == Relation::Satisfied {
281281
relation = Relation::AlmostSatisfied(package.clone());
282282
} else {
283-
relation = Relation::Inconclusive;
283+
return Relation::Inconclusive;
284284
}
285285
}
286286
}

0 commit comments

Comments
 (0)