summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/completer.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/repl/completer.rs b/src/repl/completer.rs
index 02c34a6..b5d4ddb 100644
--- a/src/repl/completer.rs
+++ b/src/repl/completer.rs
@@ -86,8 +86,7 @@ impl ReplCompleter {
pub fn new(config: &GlobalConfig) -> Self {
let mut groups = HashMap::new();
- let mut commands: Vec<ReplCommand> = REPL_COMMANDS.to_vec();
- commands.sort_by(|a, b| a.name.cmp(b.name));
+ let commands: Vec<ReplCommand> = REPL_COMMANDS.to_vec();
for cmd in REPL_COMMANDS.iter() {
let name = cmd.name;