Fix rust-check warnings

Summary: As in title

Reviewed By: mitrandir77

Differential Revision: D43435192

fbshipit-source-id: 99e3aeffb893ecf893220d31adf861bfd48d5f22
This commit is contained in:
Rajiv Sharma 2023-02-21 02:18:17 -08:00 committed by Facebook GitHub Bot
parent 1b5a0e09ac
commit 4f559d99d8

View File

@ -188,7 +188,7 @@ pub async fn wait_for_latest_log_id_for_repo_to_be_synced(
sleep_duration: Duration,
) -> Result<(), Error> {
let largest_id = latest_id_for_repo(ctx, repo).await?;
wait_for_log_id_for_repo_to_be_synced(ctx, repo, target_repo, largest_id, sleep_duration).await
wait_for_log_id_for_repo_to_be_synced(ctx, target_repo, largest_id, sleep_duration).await
}
pub async fn latest_id_for_repo(
@ -208,7 +208,6 @@ pub async fn latest_id_for_repo(
pub async fn wait_for_log_id_for_repo_to_be_synced(
ctx: &CoreContext,
repo: &impl BookmarkUpdateLogRef,
target_repo: &(impl RepoIdentityRef + MutableCountersRef),
log_id: u64,
sleep_duration: Duration,