mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 16:47:49 +00:00
merge-fwd: item 4: Preflight.height is read only by the image resolver; expect dead_code without tree
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user