Batch 42: #1893's heap test passes the Copy DecodeOptions without clone (clippy 1.99)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon ThomasandClaude Opus 5.5 committed 2026-10-18 09:53:39 -04:00
1 parent 56c9b49634
commit 70265ed17a
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ fn tiny_jxl_tail_does_not_allocate_a_tail_sized_buffer() {
let encoded = encode_jxl(&EncodeImage::rgba8(&image), &JxlOptions { lossless: true, ..Default::default() }, &EncodeMeta::default()).unwrap();
let mut raw = codestream(&encoded);
let opts = DecodeOptions { max_pixels: 64, ..Default::default() };
decode(&raw, opts.clone()).unwrap();
decode(&raw, opts).unwrap();
raw.resize(raw.len() + (1 << 20), 0);
let _profiler = dhat::Profiler::builder().testing().build();
let decoded = decode(&raw, opts).unwrap();