mirror of
https://github.com/servo/servo.git
synced 2025-09-19 11:20:09 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -47,8 +47,14 @@ pub fn get_default_url(
|
|||
}
|
||||
}
|
||||
|
||||
if new_url.is_none() && url_opt.is_some() {
|
||||
new_url = location_bar_input_to_url(url_opt.unwrap(), &preferences.searchpage);
|
||||
#[allow(
|
||||
clippy::collapsible_if,
|
||||
reason = "let chains are not available in 1.85"
|
||||
)]
|
||||
if new_url.is_none() {
|
||||
if let Some(url_opt) = url_opt {
|
||||
new_url = location_bar_input_to_url(url_opt, &preferences.searchpage);
|
||||
}
|
||||
}
|
||||
|
||||
let pref_url = parse_url_or_filename(cwd.as_ref(), &preferences.homepage).ok();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue