summaryrefslogtreecommitdiff
path: root/cli/tools/repl
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-13 15:16:24 -0600
committerGitHub <noreply@github.com>2023-07-13 15:16:24 -0600
commit8465bd0037acbaac0c7dfab6a8c6dbf47539934e (patch)
treec2ba7e1ba75a45ba552f40f7a09407674a890916 /cli/tools/repl
parentc5ddb5f205dcd6b273b0b451f01f79b68621b2e4 (diff)
chore: update to Rust 1.71 (#19822)
Diffstat (limited to 'cli/tools/repl')
-rw-r--r--cli/tools/repl/editor.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/tools/repl/editor.rs b/cli/tools/repl/editor.rs
index 759ff23d3..a27671b21 100644
--- a/cli/tools/repl/editor.rs
+++ b/cli/tools/repl/editor.rs
@@ -530,8 +530,7 @@ impl ConditionalEventHandler for TabEventHandler {
if ctx.line().is_empty()
|| ctx.line()[..ctx.pos()]
.chars()
- .rev()
- .next()
+ .next_back()
.filter(|c| c.is_whitespace())
.is_some()
{