diff options
Diffstat (limited to 'src/attr.rs')
-rw-r--r-- | src/attr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attr.rs b/src/attr.rs index 2330cf8..f7161cf 100644 --- a/src/attr.rs +++ b/src/attr.rs @@ -33,8 +33,8 @@ pub(crate) struct AttrInternal<O> { /// The start offset of the attribute name. pub name_offset: O, /// The start offset of the attribute value. - /// For the empty attribute syntax this is just `S::Offset::default()`. - /// We intentionally don't use `Option<S::Offset>` here to spare us a byte per attribute. + /// For the empty attribute syntax this is just `O::default()`. + /// We intentionally don't use `Option<O>` here to spare us a byte (and padding) per attribute. pub value_offset: O, pub value_syntax: Option<AttrValueSyntax>, } |