diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-09 08:11:38 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-03-09 08:15:14 +0800 |
| commit | e78b5f7c58fa3b6dff71042da2bbf6003c78184d (patch) | |
| tree | 6cd92751a565e6e5ddc1907171a67326037cea13 /src/repl/mod.rs | |
| parent | 1ec451da896f930829d8908da81e416d891f9aa5 (diff) | |
| download | aichat-e78b5f7c58fa3b6dff71042da2bbf6003c78184d.tar.gz | |
refactor: imports order and group
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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), |
