diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-07-13 15:16:24 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 15:16:24 -0600 |
commit | 8465bd0037acbaac0c7dfab6a8c6dbf47539934e (patch) | |
tree | c2ba7e1ba75a45ba552f40f7a09407674a890916 /cli/tools/repl/editor.rs | |
parent | c5ddb5f205dcd6b273b0b451f01f79b68621b2e4 (diff) |
chore: update to Rust 1.71 (#19822)
Diffstat (limited to 'cli/tools/repl/editor.rs')
-rw-r--r-- | cli/tools/repl/editor.rs | 3 |
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() { |