Remove unused imports
This commit is contained in:
parent
898645681f
commit
4d87a67af8
5 changed files with 16 additions and 28 deletions
|
@ -40,7 +40,7 @@ use language::{language_settings::SoftWrap, Buffer, LanguageRegistry, ToOffset a
|
|||
use project::Project;
|
||||
use search::{buffer_search::DivRegistrar, BufferSearchBar};
|
||||
use semantic_index::{SemanticIndex, SemanticIndexStatus};
|
||||
use settings::{Settings, SettingsStore};
|
||||
use settings::Settings;
|
||||
use std::{
|
||||
cell::Cell,
|
||||
cmp,
|
||||
|
@ -165,7 +165,7 @@ impl AssistantPanel {
|
|||
cx.on_focus_in(&focus_handle, Self::focus_in).detach();
|
||||
cx.on_focus_out(&focus_handle, Self::focus_out).detach();
|
||||
|
||||
let mut this = Self {
|
||||
Self {
|
||||
workspace: workspace_handle,
|
||||
active_editor_index: Default::default(),
|
||||
prev_active_editor_index: Default::default(),
|
||||
|
@ -190,9 +190,7 @@ impl AssistantPanel {
|
|||
_watch_saved_conversations,
|
||||
semantic_index,
|
||||
retrieve_context_in_next_inline_assist: false,
|
||||
};
|
||||
|
||||
this
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
|
@ -3122,6 +3120,7 @@ mod tests {
|
|||
use crate::MessageId;
|
||||
use ai::test::FakeCompletionProvider;
|
||||
use gpui::AppContext;
|
||||
use settings::SettingsStore;
|
||||
|
||||
#[gpui::test]
|
||||
fn test_inserting_and_removing_messages(cx: &mut AppContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue