Skip to content

Commit 8bede54

Browse files
authored
Merge pull request #659 from e00E/url-debug
Include username and password in Url's Debug implementation
2 parents 98a9c07 + e563fab commit 8bede54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

url/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,6 +2369,8 @@ impl fmt::Debug for Url {
23692369
formatter
23702370
.debug_struct("Url")
23712371
.field("scheme", &self.scheme())
2372+
.field("username", &self.username())
2373+
.field("password", &self.password())
23722374
.field("host", &self.host())
23732375
.field("port", &self.port())
23742376
.field("path", &self.path())

0 commit comments

Comments
 (0)