chore: satisfy clippy for the raw series transport

The workspace clippy run rejects a redundant rebinding, a constant-size
`chunks_exact`, and an implicit `String` clone in the tests these
commits carry. No behavior changes.

Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
discord9
2026-11-05 22:16:57 +08:00
parent b731c8939f
commit 3619af02ad
2 changed files with 4 additions and 2 deletions
@@ -433,7 +433,9 @@ mod tests {
fn fixture_bytes() -> Vec<u8> {
let hex = FIXTURE.trim().as_bytes();
assert_eq!(hex.len() % 2, 0);
hex.chunks_exact(2)
hex.as_chunks::<2>()
.0
.iter()
.map(|pair| u8::from_str_radix(std::str::from_utf8(pair).unwrap(), 16).unwrap())
.collect()
}
+1 -1
View File
@@ -1031,7 +1031,7 @@ mod tests {
index,
))
as Arc<dyn datafusion::physical_plan::PhysicalExpr>,
raw_schema.field(index).name().to_string(),
raw_schema.field(index).name().clone(),
)
})
.collect::<Vec<_>>(),