chore: Bump Rust edition to 2024 (#27800)

Follow-up to https://github.com/zed-industries/zed/pull/27791

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-03-31 20:55:27 +02:00 committed by GitHub
parent d50905e000
commit dc64ec9cc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
802 changed files with 3775 additions and 3662 deletions

View file

@ -1,7 +1,7 @@
use std::time::Instant;
use futures::stream::FuturesUnordered;
use futures::AsyncReadExt as _;
use futures::stream::FuturesUnordered;
use http_client::AsyncBody;
use http_client::HttpClient;
use reqwest_client::ReqwestClient;

View file

@ -4,7 +4,7 @@ use std::{any::type_name, borrow::Cow, mem, pin::Pin, task::Poll, time::Duration
use anyhow::anyhow;
use bytes::{BufMut, Bytes, BytesMut};
use futures::{AsyncRead, TryStreamExt as _};
use http_client::{http, RedirectPolicy};
use http_client::{RedirectPolicy, http};
use regex::Regex;
use reqwest::{
header::{HeaderMap, HeaderValue},
@ -256,7 +256,7 @@ impl http_client::HttpClient for ReqwestClient {
#[cfg(test)]
mod tests {
use http_client::{http, HttpClient};
use http_client::{HttpClient, http};
use crate::ReqwestClient;