History

[async-client] cleanup Send bounds!

Sebastian Thiel committed 5 years ago

Commit c7dee441 parent 89e6f663 files · +6 −6Browse files

Showing the changes to git-protocol/src/fetch/function.rs (1 of 3 files). Show all

Unified · Split

git-protocol/src/fetch/function.rs+4−4
@@ -25,12 +25,12 @@ pub async fn fetch<F, D, T>( · 24 unmodified lines
2525 mut transport: T,
2626 mut delegate: D,
2727 mut authenticate: F,
28− mut progress: impl Progress + Send + 'static,
28+ mut progress: impl Progress,
2929 ) -> Result<(D, T), Error>
3030 where
31− F: FnMut(credentials::Action<'_>) -> credentials::Result + Send + 'static,
32− D: Delegate + Send + 'static,
33− T: client::Transport + Send + 'static,
31+ F: FnMut(credentials::Action<'_>) -> credentials::Result,
32+ D: Delegate,
33+ T: client::Transport,
3434 {
3535 let (protocol_version, mut parsed_refs, capabilities, call_ls_refs) = {
3636 progress.init(None, progress::steps());