From 006b82e75b6b85cf8e0229a0815c5df02005e6cc Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Thu, 12 Nov 2026 01:40:04 +0000 Subject: [PATCH] craft-pptx: drop DeckCraft issue numbers from reader comments --- crates/pptx/src/read.rs | 6 +++--- crates/pptx/src/read/shapes.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/pptx/src/read.rs b/crates/pptx/src/read.rs index 4060343994..17451ef6a8 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 (#1164). The package budgets (`opc::MAX_XML_PART`, `MAX_TOTAL`, #1283) bound what is +/// bound. The package budgets (`opc::MAX_XML_PART`, `MAX_TOTAL`, #1283) 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. @@ -200,7 +200,7 @@ const TAG_PAIR_COST: usize = std::mem::size_of::<(String, String)>(); /// Add-in tags named by `holder`'s `p:custDataLst`: the name/value pairs of each tags part. /// Each part is parsed once per import and counted once per holder. Once [`MAX_TAG_BYTES`] is -/// reached, no further tag parts are parsed or cached (#1164). +/// reached, no further tag parts are parsed or cached. pub fn tags(imp: &mut Imp, part: &Part, holder: &El) -> Vec<(String, String)> { if imp.tags_capped { return vec![]; @@ -388,7 +388,7 @@ pub fn import(bytes: &[u8], defaults: &dyn Defaults) -> Result Result<(Presentation, Vec), Error> { import_with_chart_points(bytes, defaults, chart::MAX_PRESENTATION_CHART_POINTS) } diff --git a/crates/pptx/src/read/shapes.rs b/crates/pptx/src/read/shapes.rs index 51020e73f0..8e20a5545f 100644 --- a/crates/pptx/src/read/shapes.rs +++ b/crates/pptx/src/read/shapes.rs @@ -485,7 +485,7 @@ fn frame(imp: &mut Imp, part: &Part, ctx: &mut IdCtx, e: &El, depth: usize) -> S } else { uri.rsplit('/').next().unwrap_or("Object").to_string() }; - // Keep the parts it points to so a save writes it back whole (#203). A part with relationships + // Keep the parts it points to so a save writes it back whole. A part with relationships // of its own, or an external link, can't be carried: the save then falls back to the preview. let parts = xmlx::rel_refs(e) .into_iter()