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

@ -3,9 +3,9 @@ mod settings;
use std::sync::Arc;
use anyhow::{anyhow, Result};
use git::repository::GitRepository;
use anyhow::{Result, anyhow};
use git::GitHostingProviderRegistry;
use git::repository::GitRepository;
use gpui::App;
use url::Url;
use util::maybe;

View file

@ -1,7 +1,7 @@
use std::str::FromStr;
use std::sync::{Arc, LazyLock};
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use async_trait::async_trait;
use futures::AsyncReadExt;
use git::{

View file

@ -1,7 +1,7 @@
use std::str::FromStr;
use std::sync::Arc;
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use async_trait::async_trait;
use futures::AsyncReadExt;
use gpui::SharedString;

View file

@ -1,7 +1,7 @@
use std::str::FromStr;
use std::sync::{Arc, LazyLock};
use anyhow::{bail, Context, Result};
use anyhow::{Context, Result, bail};
use async_trait::async_trait;
use futures::AsyncReadExt;
use gpui::SharedString;

View file

@ -1,6 +1,6 @@
use std::str::FromStr;
use anyhow::{bail, Result};
use anyhow::{Result, bail};
use url::Url;
use git::{