From cb0ada6ea7a668ff3951a131b96fabfb08dac90d Mon Sep 17 00:00:00 2001 From: yuanbohan Date: Fri, 20 Oct 2023 11:01:21 +0800 Subject: [PATCH] chore: fix clippy --- src/servers/src/otlp/trace.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servers/src/otlp/trace.rs b/src/servers/src/otlp/trace.rs index 18a559019939..ae7988d826a0 100644 --- a/src/servers/src/otlp/trace.rs +++ b/src/servers/src/otlp/trace.rs @@ -302,14 +302,14 @@ mod tests { fn test_bytes_to_hex_string() { assert_eq!( "24fe79948641b110a29bc27859307e8d", - bytes_to_hex_string(&vec![ + bytes_to_hex_string(&[ 36, 254, 121, 148, 134, 65, 177, 16, 162, 155, 194, 120, 89, 48, 126, 141, ]) ); assert_eq!( "baffeedd7b8debc0", - bytes_to_hex_string(&vec![186, 255, 238, 221, 123, 141, 235, 192,]) + bytes_to_hex_string(&[186, 255, 238, 221, 123, 141, 235, 192,]) ); }