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,5 +1,5 @@
|
|||
use crate::HttpClient;
|
||||
use anyhow::{anyhow, bail, Context, Result};
|
||||
use anyhow::{Context, Result, anyhow, bail};
|
||||
use futures::AsyncReadExt;
|
||||
use serde::Deserialize;
|
||||
use std::sync::Arc;
|
||||
|
@ -147,7 +147,7 @@ pub fn build_asset_url(repo_name_with_owner: &str, tag: &str, kind: AssetKind) -
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::github::{build_asset_url, AssetKind};
|
||||
use crate::github::{AssetKind, build_asset_url};
|
||||
|
||||
#[test]
|
||||
fn test_build_asset_url() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
mod async_body;
|
||||
pub mod github;
|
||||
|
||||
pub use anyhow::{anyhow, Result};
|
||||
pub use anyhow::{Result, anyhow};
|
||||
pub use async_body::{AsyncBody, Inner};
|
||||
use derive_more::Deref;
|
||||
pub use http::{self, Method, Request, Response, StatusCode, Uri};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue