Skip to content

Commit a202960

Browse files
authored
Update src/url.rs
1 parent e2da63a commit a202960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/url.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ impl fmt::Display for UrlHostParts {
452452
(Some(username), None) => write!(f, "{username}@")?,
453453
(None, Some(password)) => write!(f, ":{password}@")?,
454454
(Some(username), Some(password)) => write!(f, "{username}:{password}@")?,
455-
(None, None) => {},
455+
(None, None) => {}
456456
};
457457
if let Some(host) = &self.host {
458458
write!(f, "{host}")?;

0 commit comments

Comments
 (0)