From 0c28d7e957fd918d72f4e984533751cacd917e06 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 31 Aug 2023 04:51:24 +0200 Subject: //: fix outdated internal doc comment --- src/attr.rs | 4 ++-- 1 file 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 { /// 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` here to spare us a byte per attribute. + /// For the empty attribute syntax this is just `O::default()`. + /// We intentionally don't use `Option` here to spare us a byte (and padding) per attribute. pub value_offset: O, pub value_syntax: Option, } -- cgit v1.2.3