Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
Summary:
I'll leave the `todo!()` as-is as I don't have much context for this code and why
the implementation is commented out.

In the meantime, fix the warning for everyone so we can easily detect new ones.

Reviewed By: lmvasquezg

Differential Revision: D64466805

fbshipit-source-id: a51eee7fd7241884c2b0ba7ae70a7eaf102d2a54
  • Loading branch information
Pierre Chevalier authored and facebook-github-bot committed Oct 16, 2024
1 parent b154832 commit 331cd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/mononoke/async_requests/worker/src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ pub(crate) async fn megarepo_async_request_compute<R: MononokeRepo>(

Ok(commit_sparse_profile_size_impl(ctx, repo, changeset, params.profiles)
.await
.map_err(|e| todo!() /* AsyncRequestsError::InternalError(anyhow!(e.into())) */ )
.map_err(|_e| todo!() /* AsyncRequestsError::InternalError(anyhow!(e.into())) */ )
.into())
}
async_requests_types_thrift::AsynchronousRequestParams::UnknownField(union_tag) => {
Expand Down

0 comments on commit 331cd2d

Please sign in to comment.