commit 11de1c718f3e94ed391d0abd20b690868399eea7
parent 515c45eaeab721a6c03b4aadf9f6e517eb41f04c
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date: Sun, 8 Mar 2020 18:24:11 +0800
Doc: Rm useless comment.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/encode.rs b/src/encode.rs
@@ -70,7 +70,6 @@ impl Icon {
png::BitDepth::Eight,
)?;
// Write the 4-byte OSType identifier.
- // Coerce array of characters into slice of bytes through a vec deref.
wr.write_all(&self.kind.header().as_bytes())?;
// Write the 4-byte icon size in bytes (data.len + header.len).
wr.write_u32::<BigEndian>((buffer.len() + 8) as u32)?;