Skip to content

Commit a614016

Browse files
authored
correct comment (#269)
1 parent 2a16902 commit a614016

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tag.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ impl Tag {
8080
Tag::new(tag, TagClass::Universal, true)
8181
}
8282

83-
/// Returns the tag's value as a `u8` if the `value` component fits in a
84-
/// short form (value < 31) or `None` if this is a long-form tag.
83+
/// Returns the tag's representation (including tag class and constructed
84+
/// bits) as a `u8` if the `value` component fits in a short form
85+
/// (value < 31) or `None` if this is a long-form tag.
8586
pub fn as_u8(&self) -> Option<u8> {
8687
if self.value >= 0x1f {
8788
return None;

0 commit comments

Comments
 (0)