diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-06-24 22:11:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 20:11:11 +0000 |
| commit | 45366c0112ac7a6197cee35f1e180c6a00923e05 (patch) | |
| tree | 8ce9679593c7ace2ce671cd67fec67745955f529 /crates/typst-pdf | |
| parent | e6b531487042aab25fa72c886decf526672a4631 (diff) | |
Bump Rust in CI (#4445)
Diffstat (limited to 'crates/typst-pdf')
| -rw-r--r-- | crates/typst-pdf/src/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-pdf/src/image.rs b/crates/typst-pdf/src/image.rs index 0df67c61..83797501 100644 --- a/crates/typst-pdf/src/image.rs +++ b/crates/typst-pdf/src/image.rs @@ -95,7 +95,7 @@ pub fn write_images(context: &WithGlobalRefs) -> (PdfChunk, HashMap<Image, Ref>) svg_chunk.renumber_into(&mut chunk.chunk, |old| { *map.entry(old).or_insert_with(|| chunk.alloc.bump()) }); - out.insert(image.clone(), map[&id]); + out.insert(image.clone(), map[id]); } } } |
