summaryrefslogtreecommitdiffstats
path: root/src/repl/handler.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-09 08:11:38 +0800
committersigoden <sigoden@gmail.com>2023-03-09 08:15:14 +0800
commite78b5f7c58fa3b6dff71042da2bbf6003c78184d (patch)
tree6cd92751a565e6e5ddc1907171a67326037cea13 /src/repl/handler.rs
parent1ec451da896f930829d8908da81e416d891f9aa5 (diff)
downloadaichat-e78b5f7c58fa3b6dff71042da2bbf6003c78184d.tar.gz
refactor: imports order and group
Diffstat (limited to 'src/repl/handler.rs')
-rw-r--r--src/repl/handler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index 6a7fc93..1b2eb20 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -3,13 +3,13 @@ use crate::config::SharedConfig;
use crate::print_now;
use crate::render::render_stream;
+use super::abort::SharedAbortSignal;
+
use anyhow::{Context, Result};
use crossbeam::channel::Sender;
use crossbeam::sync::WaitGroup;
use std::cell::RefCell;
-use super::abort::SharedAbortSignal;
-
pub enum ReplCmd {
Submit(String),
SetRole(String),