From e78b5f7c58fa3b6dff71042da2bbf6003c78184d Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 9 Mar 2023 08:11:38 +0800 Subject: refactor: imports order and group --- src/repl/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/repl/mod.rs') diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 4825b93..b5fee57 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -2,6 +2,9 @@ mod abort; mod handler; mod init; +pub use self::abort::*; +pub use self::handler::*; + use crate::client::ChatGptClient; use crate::config::SharedConfig; use crate::print_now; @@ -11,9 +14,6 @@ use anyhow::{Context, Result}; use reedline::{DefaultPrompt, Reedline, Signal}; use std::sync::Arc; -pub use self::abort::*; -pub use self::handler::*; - pub const REPL_COMMANDS: [(&str, &str, bool); 10] = [ (".info", "Print the information", false), (".set", "Modify the configuration temporarily", false), -- cgit v1.2.3