From 78828197957c90d82d1980608210fa722519b387 Mon Sep 17 00:00:00 2001 From: "F. Levi" <55688616+flevi29@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:58:54 +0200 Subject: [PATCH] Fix erroneous Sequence impl --- crates/meilisearch-types/src/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/meilisearch-types/src/keys.rs b/crates/meilisearch-types/src/keys.rs index 942215099..436854d7d 100644 --- a/crates/meilisearch-types/src/keys.rs +++ b/crates/meilisearch-types/src/keys.rs @@ -448,7 +448,7 @@ impl Sequence for Action { previous_item = Some(*next_flag); potential_previous_index += 1; } else { - return None; + return pre_previous_item; } } }