From e9668eff79422763bf18e95330f174e944ea0766 Mon Sep 17 00:00:00 2001 From: "F. Levi" <55688616+flevi29@users.noreply.github.com> Date: Sat, 5 Oct 2024 13:40:38 +0300 Subject: [PATCH] Misc --- 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 f645c87e6..ec3c5246c 100644 --- a/meilisearch-types/src/keys.rs +++ b/meilisearch-types/src/keys.rs @@ -230,7 +230,7 @@ bitflags! { let mut exp = 0; while exp <= 24 { - all |= 1 << exp; + all = (all << 1) + 1; exp += 1; }