mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 23:56:37 +00:00
Fix binstalk-git-repo-api
Remove `Sync` bound on returned `Future`, since `tokio::spawn` does not require it Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
da9de8f14c
commit
54e6ca768f
4 changed files with 8 additions and 8 deletions
|
@ -204,8 +204,8 @@ impl GhApiClient {
|
|||
where
|
||||
GraphQLFn: Fn(&remote::Client, &T, &str) -> GraphQLFut,
|
||||
RestfulFn: Fn(&remote::Client, &T, Option<&str>) -> RestfulFut,
|
||||
GraphQLFut: Future<Output = Result<U, GhApiError>> + Send + Sync + 'static,
|
||||
RestfulFut: Future<Output = Result<U, GhApiError>> + Send + Sync + 'static,
|
||||
GraphQLFut: Future<Output = Result<U, GhApiError>> + Send + 'static,
|
||||
RestfulFut: Future<Output = Result<U, GhApiError>> + Send + 'static,
|
||||
{
|
||||
self.check_retry_after()?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue