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

@ -3259,7 +3259,7 @@ impl ProjectPanel {
.take(prefix_components)
.collect::<PathBuf>();
if let Some(last_component) =
Path::new(processing_filename).components().last()
Path::new(processing_filename).components().next_back()
{
new_path.push(last_component);
previous_components.next();