Skip to content

Commit 4cffa1a

Browse files
committed
Fix build error in feature
1 parent 03ff539 commit 4cffa1a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/types/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,10 @@ impl<'url> GitUrl<'url> {
296296
#[cfg(feature = "log")]
297297
{
298298
debug!("{:?}", self.hint());
299-
debug!("password support only for httplike url: {:?}", self.token());
299+
debug!(
300+
"password support only for httplike url: {:?}",
301+
self.password()
302+
);
300303
}
301304
return Err(GitUrlParseError::InvalidPasswordUnsupported);
302305
}

0 commit comments

Comments
 (0)