Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Move `lints` section to the top of `Cargo.toml`, to match the others

Marshall Bowers1fbc04104ce3
diff --git a/crates/anthropic/Cargo.toml b/crates/anthropic/Cargo.toml
index 7d81209a9b1..5a3f9bbd66d 100644
--- a/crates/anthropic/Cargo.toml
+++ b/crates/anthropic/Cargo.toml
@@ -5,6 +5,9 @@ edition = "2021"
publish = false
license = "AGPL-3.0-or-later"
+[lints]
+workspace = true
+
[lib]
path = "src/anthropic.rs"
@@ -17,6 +20,3 @@ util.workspace = true
[dev-dependencies]
tokio.workspace = true
-
-[lints]
-workspace = true
diff --git a/crates/semantic_index/Cargo.toml b/crates/semantic_index/Cargo.toml
index 5010a2fa491..f50f17934d4 100644
--- a/crates/semantic_index/Cargo.toml
+++ b/crates/semantic_index/Cargo.toml
@@ -6,6 +6,9 @@ edition = "2021"
publish = false
license = "GPL-3.0-or-later"
+[lints]
+workspace = true
+
[lib]
path = "src/semantic_index.rs"
@@ -43,6 +46,3 @@ project = { workspace = true, features = ["test-support"] }
tempfile.workspace = true
util = { workspace = true, features = ["test-support"] }
worktree = { workspace = true, features = ["test-support"] }
-
-[lints]
-workspace = true