Unified · Split
| @@ -91,7 +91,10 @@ mod async_io { · 90 unmodified lines | ||
| 91 | 91 | Ok(match url.scheme { |
| 92 | 92 | git_repository::url::Scheme::Git => { |
| 93 | 93 | if url.user().is_some() { |
| 94 | − return Err(Error::UnsupportedUrlTokens(urlb.into(), url.scheme)); | |
| 94 | + return Err(Error::UnsupportedUrlTokens { | |
| 95 | + url: urlb.into(), | |
| 96 | + scheme: url.scheme, | |
| 97 | + }); | |
| 95 | 98 | } |
| 96 | 99 | let path = std::mem::take(&mut url.path); |
| 97 | 100 | git_connect( |