mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
Fix rust-check warnings
Summary: As in title Reviewed By: mitrandir77 Differential Revision: D43435192 fbshipit-source-id: 99e3aeffb893ecf893220d31adf861bfd48d5f22
This commit is contained in:
parent
1b5a0e09ac
commit
4f559d99d8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user