From 830f8869d1460716b7e48e3805de791ba0e55449 Mon Sep 17 00:00:00 2001 From: Folkert de Vries Date: Thu, 14 Nov 2024 11:52:42 +0100 Subject: [PATCH] clippy --- test-libz-rs-sys/src/inflate.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-libz-rs-sys/src/inflate.rs b/test-libz-rs-sys/src/inflate.rs index 67a777ea..e44c797b 100644 --- a/test-libz-rs-sys/src/inflate.rs +++ b/test-libz-rs-sys/src/inflate.rs @@ -2160,10 +2160,10 @@ fn blow_up_the_stack_1() { let config = InflateConfig::default(); - let (_, err) = crate::helpers::uncompress_slice_ng(&mut output_ng, &INPUT, config); + let (_, err) = crate::helpers::uncompress_slice_ng(&mut output_ng, INPUT, config); assert_eq!(err, ReturnCode::DataError); - let (_, err) = uncompress_slice(&mut output_rs, &INPUT, config); + let (_, err) = uncompress_slice(&mut output_rs, INPUT, config); assert_eq!(err, ReturnCode::DataError); } @@ -2179,9 +2179,9 @@ fn blow_up_the_stack_2() { let config = InflateConfig::default(); - let (_, err) = crate::helpers::uncompress_slice_ng(&mut output_ng, &INPUT, config); + let (_, err) = crate::helpers::uncompress_slice_ng(&mut output_ng, INPUT, config); assert_eq!(err, ReturnCode::DataError); - let (_, err) = uncompress_slice(&mut output_rs, &INPUT, config); + let (_, err) = uncompress_slice(&mut output_rs, INPUT, config); assert_eq!(err, ReturnCode::DataError); }