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:
1 parent
376d19c078
commit
d6520954b6
802 files changed
+3775
-3662
No files matched your search
@@ -1,6 +1,6 @@
|
||||
use std::fs;
|
||||
use zed::settings::LspSettings;
|
||||
use zed_extension_api::{self as zed, serde_json, LanguageServerId, Result};
|
||||
use zed_extension_api::{self as zed, LanguageServerId, Result, serde_json};
|
||||
|
||||
struct GlslExtension {
|
||||
cached_binary_path: Option<String>,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::{env, fs};
|
||||
use zed::settings::LspSettings;
|
||||
use zed_extension_api::{self as zed, serde_json::json, LanguageServerId, Result};
|
||||
use zed_extension_api::{self as zed, LanguageServerId, Result, serde_json::json};
|
||||
|
||||
const BINARY_NAME: &str = "vscode-html-language-server";
|
||||
const SERVER_PATH: &str =
|
||||
|
||||
@@ -3,7 +3,7 @@ use zed::{
|
||||
http_client::HttpRequest,
|
||||
serde_json::{self, json},
|
||||
};
|
||||
use zed_extension_api::{self as zed, http_client::RedirectPolicy, Result};
|
||||
use zed_extension_api::{self as zed, Result, http_client::RedirectPolicy};
|
||||
|
||||
struct Perplexity;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use zed_extension_api::{self as zed, settings::LspSettings, Result};
|
||||
use zed_extension_api::{self as zed, Result, settings::LspSettings};
|
||||
|
||||
const PROTOBUF_LANGUAGE_SERVER_NAME: &str = "protobuf-language-server";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use std::fs;
|
||||
use zed::LanguageServerId;
|
||||
use zed_extension_api::{self as zed, settings::LspSettings, Result};
|
||||
use zed_extension_api::{self as zed, Result, settings::LspSettings};
|
||||
|
||||
struct RuffBinary {
|
||||
path: String,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use serde_json::json;
|
||||
use std::fs;
|
||||
use zed::LanguageServerId;
|
||||
use zed_extension_api::{self as zed, settings::LspSettings, Result};
|
||||
use zed_extension_api::{self as zed, Result, settings::LspSettings};
|
||||
|
||||
struct SnippetExtension {
|
||||
cached_binary_path: Option<String>,
|
||||
|
||||
Reference in new issue
Block a user