From a8c856ff033102272521d10cd5a507a440632fa1 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Thu, 12 Nov 2026 01:40:32 +0000 Subject: [PATCH] craft-pptx: link the package budgets from the tag budget's doc --- crates/pptx/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pptx/src/read.rs b/crates/pptx/src/read.rs index 17451ef6a..bb94916f9 100644 --- a/crates/pptx/src/read.rs +++ b/crates/pptx/src/read.rs @@ -192,7 +192,7 @@ fn choice_has_model3d(el: &El, rels: &Rels) -> bool { /// Bytes of tags one import copies into the model, every tags part and reference together: a /// small compressed tags part listed by many shapes, or many times by one, must not grow without -/// bound. The package budgets (`opc::MAX_XML_PART`, `MAX_TOTAL`, #1283) bound what is +/// bound. The package budgets ([`MAX_XML_PART`](crate::MAX_XML_PART), [`MAX_TOTAL`](crate::MAX_TOTAL)) bound what is /// parsed; this bounds what is copied from it. pub const MAX_TAG_BYTES: usize = 64 << 20; /// What each copied pair costs besides its text, so empty pairs count too.