From bfde231114cf7c3b074db009d7a2ca39543c9a1f Mon Sep 17 00:00:00 2001 From: Sam Gwilym Date: Fri, 12 Jul 2024 07:02:32 +0100 Subject: [PATCH] Remove unnecessary length check --- data-model/src/path.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/data-model/src/path.rs b/data-model/src/path.rs index 2a61a9b..2ff9c34 100644 --- a/data-model/src/path.rs +++ b/data-model/src/path.rs @@ -416,9 +416,7 @@ impl Encoder for PathRc 0 { - consumer.bulk_consume_full_slice(component.as_ref()).await?; - } + consumer.bulk_consume_full_slice(component.as_ref()).await?; } Ok(())