Fix a clippy issue (#31429)
A cherry-pick from `main`, https://github.com/zed-industries/zed/pull/31425 , failed with a clippy error: https://github.com/zed-industries/zed/actions/runs/15253598167/job/42895919271 Release Notes: - N/A
This commit is contained in:
parent
ddbcab2b5b
commit
a58c48f629
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ enum ProxyType<'t> {
|
|||
HttpProxy(HttpProxyType<'t>),
|
||||
}
|
||||
|
||||
fn parse_proxy_type<'t>(proxy: &'t Url) -> Option<((String, u16), ProxyType<'t>)> {
|
||||
fn parse_proxy_type(proxy: &Url) -> Option<((String, u16), ProxyType)> {
|
||||
let scheme = proxy.scheme();
|
||||
let host = proxy.host()?.to_string();
|
||||
let port = proxy.port_or_known_default()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue