chore: Bump Rust version to 1.86 (#28021)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-04-03 23:32:50 +02:00 committed by GitHub
parent 7492ec3f67
commit c6e2d20a02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 24 additions and 23 deletions

View file

@ -150,14 +150,14 @@ impl Match {
text.push_str(dir_indicator);
highlights.push((
offset..offset + dir_indicator.bytes().len(),
offset..offset + dir_indicator.len(),
HighlightStyle::color(Color::Muted.color(cx)),
));
}
} else {
text.push_str(dir_indicator);
highlights.push((
offset..offset + dir_indicator.bytes().len(),
offset..offset + dir_indicator.len(),
HighlightStyle::color(Color::Muted.color(cx)),
))
}
@ -186,7 +186,7 @@ impl Match {
if suffix.ends_with('/') {
text.push_str(dir_indicator);
highlights.push((
offset..offset + dir_indicator.bytes().len(),
offset..offset + dir_indicator.len(),
HighlightStyle::color(Color::Muted.color(cx)),
));
}