From eae3ff5c22c85151cfc8ff5e3be9a2ce77b39467 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Wed, 6 Dec 2023 23:25:18 +0000 Subject: [PATCH] Clippy --- arrow-ipc/src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-ipc/src/reader.rs b/arrow-ipc/src/reader.rs index dc6f7d248b08..b0b946ffbb3d 100644 --- a/arrow-ipc/src/reader.rs +++ b/arrow-ipc/src/reader.rs @@ -514,7 +514,7 @@ fn read_block(mut reader: R, block: &Block) -> Result fn parse_message(buf: &[u8]) -> Result { - let buf = match &buf[..4] == &CONTINUATION_MARKER { + let buf = match buf[..4] == CONTINUATION_MARKER { true => &buf[8..], false => &buf[4..], };