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:
parent
d50905e000
commit
dc64ec9cc8
802 changed files with 3775 additions and 3662 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue