Skip to content

Commit 5afa75d

Browse files
committed
clippy
1 parent 9d7d3ab commit 5afa75d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ranger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ mod tests {
877877
Prefix(K),
878878
}
879879

880-
impl<'a, K, V> Iterator for SimpleRangeIterator<'a, K, V>
880+
impl<K, V> Iterator for SimpleRangeIterator<'_, K, V>
881881
where
882882
K: RangeKey + Default,
883883
V: Clone,

src/store/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,13 +630,13 @@ impl<'a> StoreInstance<'a> {
630630
}
631631
}
632632

633-
impl<'a> PublicKeyStore for StoreInstance<'a> {
633+
impl PublicKeyStore for StoreInstance<'_> {
634634
fn public_key(&self, id: &[u8; 32]) -> std::result::Result<VerifyingKey, SignatureError> {
635635
self.store.public_key(id)
636636
}
637637
}
638638

639-
impl<'a> super::DownloadPolicyStore for StoreInstance<'a> {
639+
impl super::DownloadPolicyStore for StoreInstance<'_> {
640640
fn get_download_policy(&mut self, namespace: &NamespaceId) -> Result<DownloadPolicy> {
641641
self.store.get_download_policy(namespace)
642642
}

src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2292,7 +2292,7 @@ mod tests {
22922292
store: &'a mut Store,
22932293
namespace: NamespaceId,
22942294
}
2295-
impl<'a> QueryTester<'a> {
2295+
impl QueryTester<'_> {
22962296
fn assert(&mut self, query: impl Into<Query>, expected: Vec<(&'static str, &Author)>) {
22972297
let query = query.into();
22982298
let actual = self

0 commit comments

Comments
 (0)