assistant2: Remove unneeded #[allow(unused)]
s (#22979)
This PR removes some unneeded `#[allow(unused)]`s from the context types in Assistant2. We're using these fields now, so we no longer need to suppress the unused lint. Release Notes: - N/A
This commit is contained in:
parent
fe3d409b17
commit
2f07d53cce
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue