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

@ -103,7 +103,7 @@ impl OpenRequest {
let mut parts = request_path.split('/');
if parts.next() == Some("channel") {
if let Some(slug) = parts.next() {
if let Some(id_str) = slug.split('-').last() {
if let Some(id_str) = slug.split('-').next_back() {
if let Ok(channel_id) = id_str.parse::<u64>() {
let Some(next) = parts.next() else {
self.join_channel = Some(channel_id);