Skip to content

Commit

Permalink
Merge pull request #699 from djc/debug-cannot-be-a-base
Browse files Browse the repository at this point in the history
Add cannot_be_a_base field to Url's Debug representation (fixes #693)
  • Loading branch information
valenting authored Apr 13, 2021
2 parents 3eb936b + 1ad022d commit 46d22de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions url/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,7 @@ impl fmt::Debug for Url {
formatter
.debug_struct("Url")
.field("scheme", &self.scheme())
.field("cannot_be_a_base", &self.cannot_be_a_base())
.field("username", &self.username())
.field("password", &self.password())
.field("host", &self.host())
Expand Down

0 comments on commit 46d22de

Please sign in to comment.