diff --git a/benches/large_case.rs b/benches/large_case.rs index 33d836a1..8efdaa9e 100644 --- a/benches/large_case.rs +++ b/benches/large_case.rs @@ -11,13 +11,13 @@ use pubgrub::version::{NumberVersion, SemanticVersion}; use pubgrub::version_set::VersionSet; use serde::de::Deserialize; -fn bench<'a, P: Package + Deserialize<'a>, V: VersionSet + Deserialize<'a>>( +fn bench<'a, P: Package + Deserialize<'a>, VS: VersionSet + Deserialize<'a>>( b: &mut Bencher, case: &'a str, ) where - ::V: Deserialize<'a>, + ::V: Deserialize<'a>, { - let dependency_provider: OfflineDependencyProvider = ron::de::from_str(&case).unwrap(); + let dependency_provider: OfflineDependencyProvider = ron::de::from_str(&case).unwrap(); b.iter(|| { for p in dependency_provider.packages() {