From a1ea90036f0b06c77cd5aad9065c5bc1a425bad6 Mon Sep 17 00:00:00 2001 From: Bas Zalmstra Date: Sat, 28 May 2022 23:13:42 +0200 Subject: [PATCH] fix: renamed V to VS in bench --- benches/large_case.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() {