We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c601ad0 + c382a0f commit d0d21caCopy full SHA for d0d21ca
src/cred.rs
@@ -155,7 +155,7 @@ impl CredentialHelper {
155
match parsed_url {
156
Ok(url) => {
157
match url.host() {
158
- Some(&url::Domain(ref s)) => ret.host = Some(s.clone()),
+ Some(&url::Host::Domain(ref s)) => ret.host = Some(s.clone()),
159
_ => {}
160
}
161
ret.protocol = Some(url.scheme)
@@ -166,8 +166,8 @@ impl CredentialHelper {
166
167
fn mapper(s: &str) -> url::SchemeType {
168
match s {
169
- "git" => url::RelativeScheme(9418),
170
- "ssh" => url::RelativeScheme(22),
+ "git" => url::SchemeType::Relative(9418),
+ "ssh" => url::SchemeType::Relative(22),
171
s => url::whatwg_scheme_type_mapper(s),
172
173
0 commit comments