chore: Bump Rust version to 1.88 (#33439)

Goodies in this version:
- if-let chains 🎉
- Better compiler perf for Zed
(https://github.com/rust-lang/rust/pull/138522)

For more, see: https://releases.rs/docs/1.88.0/

Release Notes:

- N/A

---------

Co-authored-by: Junkui Zhang <364772080@qq.com>
This commit is contained in:
Piotr Osiewicz
2025-06-26 20:54:19 +02:00
committed by GitHub
co-authored by Junkui Zhang
parent b079871428
commit 985dcf7523
31 changed files with 112 additions and 303 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ pub(super) fn find_from_grid_point<T: EventListener>(
) -> Option<(String, bool, Match)> {
let grid = term.grid();
let link = grid.index(point).hyperlink();
let found_word = if link.is_some() {
let found_word = if let Some(ref url) = link {
let mut min_index = point;
loop {
let new_min_index = min_index.sub(term, Boundary::Cursor, 1);
@@ -73,7 +73,7 @@ pub(super) fn find_from_grid_point<T: EventListener>(
}
}
let url = link.unwrap().uri().to_owned();
let url = url.uri().to_owned();
let url_match = min_index..=max_index;
Some((url, true, url_match))