From 0f20660cb95abd4f407bdafa2c45e01829fa971f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 19 Jul 2022 17:56:57 +0200 Subject: Refactor to remove cloning in `edit_map` --- src/tokenizer.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tokenizer.rs') diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 8f85af0..4e184f4 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -730,6 +730,7 @@ fn feed_impl( } // Yield to a higher loop. + // To do: do not copy? check_statefn_result((state, Some(codes[index..].to_vec()))) } -- cgit