From 35ddb432b3db9f329dda96bc67d0f5cc1ec5a3bb Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 23 Jan 2025 16:58:33 -0500 Subject: [PATCH] assistant_context_editor: Put `use`s in the right spot (#23579) This PR cleans up some `use` statements that weren't at the very top of the module. Release Notes: - N/A --- .../assistant_context_editor/src/context_editor.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/assistant_context_editor/src/context_editor.rs b/crates/assistant_context_editor/src/context_editor.rs index 7f4b27057f..e73ac2a46d 100644 --- a/crates/assistant_context_editor/src/context_editor.rs +++ b/crates/assistant_context_editor/src/context_editor.rs @@ -57,6 +57,13 @@ use workspace::{ Workspace, }; +use crate::{slash_command::SlashCommandCompletionProvider, slash_command_picker}; +use crate::{ + AssistantPatch, AssistantPatchStatus, CacheStatus, Content, Context, ContextEvent, ContextId, + InvokedSlashCommandId, InvokedSlashCommandStatus, Message, MessageId, MessageMetadata, + MessageStatus, ParsedSlashCommand, PendingSlashCommandStatus, RequestType, +}; + actions!( assistant, [ @@ -80,13 +87,6 @@ pub enum InsertDraggedFiles { impl_internal_actions!(assistant, [InsertDraggedFiles]); -use crate::{slash_command::SlashCommandCompletionProvider, slash_command_picker}; -use crate::{ - AssistantPatch, AssistantPatchStatus, CacheStatus, Content, Context, ContextEvent, ContextId, - InvokedSlashCommandId, InvokedSlashCommandStatus, Message, MessageId, MessageMetadata, - MessageStatus, ParsedSlashCommand, PendingSlashCommandStatus, RequestType, -}; - #[derive(Copy, Clone, Debug, PartialEq)] struct ScrollPosition { offset_before_cursor: gpui::Point,