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,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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue