summaryrefslogtreecommitdiff
path: root/cli/tools/repl
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-04 22:28:57 +0800
committerGitHub <noreply@github.com>2024-03-04 14:28:57 +0000
commitd4b3b39cc021bfac76e023eedd217fe0c2df9978 (patch)
tree6d1e72ffc8a0672dbf0e6c8b239930de2eaac8d6 /cli/tools/repl
parent11db68ce96dfe561da6d7f4938e412635dc688d7 (diff)
chore: fix typos (#22677)
Diffstat (limited to 'cli/tools/repl')
-rw-r--r--cli/tools/repl/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs
index 74c9987c1..9cb3cd1c2 100644
--- a/cli/tools/repl/editor.rs
+++ b/cli/tools/repl/editor.rs
@@ -524,7 +524,7 @@ impl ConditionalEventHandler for ReverseSearchHistoryEventHandler {
/// A custom tab key event handler
/// It uses a heuristic to determine if the user is requesting completion or if they want to insert an actual tab
/// The heuristic goes like this:
-/// - If the last character before the cursor is whitespace, the the user wants to insert a tab
+/// - If the last character before the cursor is whitespace, the user wants to insert a tab
/// - Else the user is requesting completion
struct TabEventHandler;
impl ConditionalEventHandler for TabEventHandler {