Update rust to 1.86.0 (#11431)

We keep the practice of keeping the compiler up to date, pointing to the
latest release. This is done by many other projects in the Rust
ecosystem as well.

[Announcement blog
post](https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html).

Prior update was in #10914.
This commit is contained in:
Arpad Müller
2025-04-03 16:53:28 +02:00
committed by GitHub
parent 2e11d129d0
commit d8cee52637
19 changed files with 24 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ enum LargeObjectKind {
impl LargeObjectKind {
fn from_key(key: &str) -> Self {
let fname = key.split('/').last().unwrap();
let fname = key.split('/').next_back().unwrap();
let Ok((layer_name, _generation)) = parse_layer_object_name(fname) else {
return LargeObjectKind::Other;