From 2a0c4d9f6187130577cdb2168535b34ec9079b2e Mon Sep 17 00:00:00 2001 From: KAMADA Ken'ichi Date: Fri, 30 Dec 2016 23:19:02 +0900 Subject: [PATCH] Fix comments on Value variants. --- src/value.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/value.rs b/src/value.rs index 0379e87..cea9495 100644 --- a/src/value.rs +++ b/src/value.rs @@ -34,9 +34,9 @@ use endian::Endian; pub enum Value<'a> { /// Vector of 8-bit unsigned integers. Byte(Vec), - /// Slice of 8-bit bytes containing 7-bit ASCII characters. + /// Vector of slices of 8-bit bytes containing 7-bit ASCII characters. /// The trailing null character is not included. Note that - /// the absence of the 8th bits is not guaranteed. + /// the 8th bits may present if a non-conforming data is given. Ascii(Vec<&'a [u8]>), /// Vector of 16-bit unsigned integers. Short(Vec), @@ -63,7 +63,7 @@ pub enum Value<'a> { /// Unused in the Exif specification. Double(Vec), /// The type is unknown to this implementation. - /// The associated values are the type and the count, and the + /// The associated values are the type, the count, and the /// offset of the "Value Offset" element. Unknown(u16, u32, u32), }