Skip to content

Commit b9ee40d

Browse files
committed
Include username and password in Url's Debug implementation
1 parent 98a9c07 commit b9ee40d

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
@@ -2374,6 +2374,8 @@ impl fmt::Debug for Url {
23742374
.field("path", &self.path())
23752375
.field("query", &self.query())
23762376
.field("fragment", &self.fragment())
2377+
.field("username", &self.username())
2378+
.field("password", &self.password())
23772379
.finish()
23782380
}
23792381
}

0 commit comments

Comments
 (0)