merge-fwd: item 4: Preflight.height is read only by the image resolver; expect dead_code without tree

This commit is contained in:
aiongg
2026-11-16 12:49:22 +00:00
parent 768a1d0cfa
commit faea5d0b1a
+1
View File
@@ -170,6 +170,7 @@ pub struct Preflight<'s> {
xml: roxmltree::Document<'s>,
depth: usize,
/// [`height`]: the nesting usvg converts, references followed.
#[cfg_attr(not(feature = "tree"), expect(dead_code, reason = "only the embedded-image resolver reads it"))]
height: usize,
}