fix clippy
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Alex 2022-04-21 12:01:47 +02:00
parent e9b796356a
commit cc8b13f808
Signed by: lx
GPG Key ID: 0E496D15096376BE
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ impl<T: CounterSchema> IndexCounter<T> {
let pk = pk.clone();
let sk = sk.clone();
tokio::spawn(async move {
let dist_entry = new_entry.to_counter_entry::<T>(this_node, pk, sk);
let dist_entry = new_entry.into_counter_entry::<T>(this_node, pk, sk);
if let Err(e) = table.insert(&dist_entry).await {
warn!("({}) Could not propagate counter value: {}", T::NAME, e);
}
@ -195,7 +195,7 @@ struct LocalCounterEntry {
}
impl LocalCounterEntry {
fn to_counter_entry<T: CounterSchema>(
fn into_counter_entry<T: CounterSchema>(
self,
this_node: Uuid,
pk: T::P,