diff options
Diffstat (limited to 'src/layout/par.rs')
| -rw-r--r-- | src/layout/par.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/par.rs b/src/layout/par.rs index d7fbde16..dc2ce0ef 100644 --- a/src/layout/par.rs +++ b/src/layout/par.rs @@ -10,6 +10,7 @@ use crate::util::{EcoString, RangeExt, SliceExt}; type Range = std::ops::Range<usize>; /// A node that arranges its children into a paragraph. +#[derive(Debug)] #[cfg_attr(feature = "layout-cache", derive(Hash))] pub struct ParNode { /// The inline direction of this paragraph. @@ -21,6 +22,7 @@ pub struct ParNode { } /// A child of a paragraph node. +#[derive(Debug)] #[cfg_attr(feature = "layout-cache", derive(Hash))] pub enum ParChild { /// Spacing between other nodes. |
