clippy

Cole Miller created

Change summary

Cargo.lock                          | 1 -
crates/dap/Cargo.toml               | 1 -
crates/dap_adapters/src/codelldb.rs | 2 +-
crates/dap_adapters/src/go.rs       | 2 +-
typos.toml                          | 4 +++-
5 files changed, 5 insertions(+), 5 deletions(-)

Detailed changes

Cargo.lock πŸ”—

@@ -4112,7 +4112,6 @@ dependencies = [
  "log",
  "node_runtime",
  "parking_lot",
- "paths",
  "proto",
  "schemars",
  "serde",

crates/dap/Cargo.toml πŸ”—

@@ -38,7 +38,6 @@ language.workspace = true
 log.workspace = true
 node_runtime.workspace = true
 parking_lot.workspace = true
-paths.workspace = true
 proto.workspace = true
 schemars.workspace = true
 serde.workspace = true

crates/dap_adapters/src/codelldb.rs πŸ”—

@@ -96,7 +96,7 @@ impl CodeLldbDebugAdapter {
         let (package_json, package_nls_json) = get_vsix_package_json(
             temp_dir,
             "vadimcn/codelldb",
-            |_| Ok(format!("codelldb-bootstrap.vsix")),
+            |_| Ok("codelldb-bootstrap.vsix".into()),
             delegate,
         )?;
         let package_json = parse_package_json(package_json, package_nls_json)?;

crates/dap_adapters/src/go.rs πŸ”—

@@ -79,7 +79,7 @@ impl GoDebugAdapter {
             DownloadedFileType::GzipTar
         };
         download_adapter_from_github(
-            "delve-shim-dap".into(),
+            "delve-shim-dap",
             asset.clone(),
             ty,
             paths::debug_adapters_dir(),

typos.toml πŸ”—

@@ -49,7 +49,9 @@ extend-exclude = [
     # typos-cli doesn't understand our `vˇariable` markup
     "crates/editor/src/hover_links.rs",
     # typos-cli doesn't understand `setis` is intentional test case
-    "crates/editor/src/code_completion_tests.rs"
+    "crates/editor/src/code_completion_tests.rs",
+    # schemas come from upstream, not worth it to maintain a patch in our copies to fix typos
+    "crates/dap_adapters/schemas/",
 ]
 
 [default]