Skip to content

Commit 248bd8b

Browse files
authored
Remove unneeded Option map in PyMultiHostUrl.build (#1643)
1 parent 68b678d commit 248bd8b

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
@@ -400,7 +400,7 @@ impl PyMultiHostUrl {
400400
username: username.map(Into::into),
401401
password: password.map(Into::into),
402402
host: host.map(Into::into),
403-
port: port.map(Into::into),
403+
port,
404404
};
405405
format!("{scheme}://{url_host}")
406406
} else {

0 commit comments

Comments
 (0)