From 0403ec0a5647bc2db7b45c80b797d8b023ca7151 Mon Sep 17 00:00:00 2001 From: "F. Levi" <55688616+flevi29@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:33:35 +0300 Subject: [PATCH] Fix All flag --- meilisearch-types/src/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-types/src/keys.rs b/meilisearch-types/src/keys.rs index 896efad4a..f645c87e6 100644 --- a/meilisearch-types/src/keys.rs +++ b/meilisearch-types/src/keys.rs @@ -229,7 +229,7 @@ bitflags! { let mut all = 0; let mut exp = 0; - while exp < 24 { + while exp <= 24 { all |= 1 << exp; exp += 1; }