Showing the changes to git-protocol/src/fetch/function.rs (1 of 3 files). Show all
Unified · Split
| @@ -25,12 +25,12 @@ pub async fn fetch<F, D, T>( · 24 unmodified lines | |||
| 25 | mut transport: T, | 25 | mut transport: T, |
| 26 | mut delegate: D, | 26 | mut delegate: D, |
| 27 | mut authenticate: F, | 27 | mut authenticate: F, |
| 28 | mut progress: impl Progress + Send + 'static, | 28 | mut progress: impl Progress, |
| 29 | ) -> Result<(D, T), Error> | 29 | ) -> Result<(D, T), Error> |
| 30 | where | 30 | where |
| 31 | F: FnMut(credentials::Action<'_>) -> credentials::Result + Send + 'static, | 31 | F: FnMut(credentials::Action<'_>) -> credentials::Result, |
| 32 | D: Delegate + Send + 'static, | 32 | D: Delegate, |
| 33 | T: client::Transport + Send + 'static, | 33 | T: client::Transport, |
| 34 | { | 34 | { |
| 35 | let (protocol_version, mut parsed_refs, capabilities, call_ls_refs) = { | 35 | let (protocol_version, mut parsed_refs, capabilities, call_ls_refs) = { |
| 36 | progress.init(None, progress::steps()); | 36 | progress.init(None, progress::steps()); |