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.

assistant2: Remove unneeded `#[allow(unused)]`s (#22979)

Marshall Bowers2f07d53cce92
diff --git a/crates/assistant2/src/context.rs b/crates/assistant2/src/context.rs
index a31c25012db..e4957b75913 100644
--- a/crates/assistant2/src/context.rs
+++ b/crates/assistant2/src/context.rs
@@ -98,9 +98,7 @@ pub struct FileContext {
#[derive(Debug)]
pub struct DirectoryContext {
- #[allow(unused)]
pub path: Rc<Path>,
- #[allow(unused)]
pub context_buffers: Vec<ContextBuffer>,
pub snapshot: ContextSnapshot,
}
@@ -127,10 +125,8 @@ pub struct ThreadContext {
#[derive(Debug, Clone)]
pub struct ContextBuffer {
- #[allow(unused)]
pub id: BufferId,
pub buffer: Model<Buffer>,
- #[allow(unused)]
pub version: clock::Global,
pub text: SharedString,
}