From 8465bd0037acbaac0c7dfab6a8c6dbf47539934e Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Thu, 13 Jul 2023 15:16:24 -0600 Subject: chore: update to Rust 1.71 (#19822) --- cli/tools/repl/editor.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tools/repl') 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() { -- cgit v1.2.3