From 284ba71362f7065a11c7c10ada9b975c62307415 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 12 Jun 2024 19:43:03 +0530 Subject: [PATCH] chore: remove dead code (#24185) --- cli/lsp/config.rs | 5 ----- cli/ops/testing.rs | 8 -------- 2 files changed, 13 deletions(-) diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 75433ad8a6..bfadfe5ea2 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -1076,11 +1076,6 @@ impl LspTsConfig { } } -#[derive(Debug, Clone)] -pub struct LspWorkspaceConfig { - pub members: Vec, -} - #[derive(Debug, Clone)] pub struct LspPackageConfig { pub nv: PackageNv, diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index b63a729470..b8839a6f8b 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -19,7 +19,6 @@ use deno_core::OpState; use deno_runtime::deno_permissions::create_child_permissions; use deno_runtime::deno_permissions::ChildPermissionsArg; use deno_runtime::deno_permissions::PermissionsContainer; -use serde::Serialize; use std::sync::atomic::AtomicUsize; use std::sync::atomic::Ordering; use uuid::Uuid; @@ -94,13 +93,6 @@ pub fn op_restore_test_permissions( } } -#[derive(Debug, Serialize)] -#[serde(rename_all = "camelCase")] -struct TestRegisterResult { - id: usize, - origin: String, -} - static NEXT_ID: AtomicUsize = AtomicUsize::new(0); #[allow(clippy::too_many_arguments)]