From fea5c91dcbe72b4d1fd5df15cc994bfa29b0b7b9 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Sat, 11 Oct 2025 23:01:47 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(utils):=20remove?= =?UTF-8?q?=20unused=20`get=5Fstart=5Fboundary`=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - remove the `get_start_boundary` function as it is no longer used --- src/utils.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 166e289..8feaf6a 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -55,11 +55,3 @@ impl Elide for String { } } } - -fn get_start_boundary(string: String, mut start: usize) -> usize { - while !string.is_char_boundary(start) { - start -= 1; - } - - start -}