Skip to content

Commit dc46f8a

Browse files
feefladderweiji14
andauthored
Apply suggestions from @Weji14
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent 5286e17 commit dc46f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/predictor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub(crate) fn unpredict_hdiff(
165165

166166
/// Reverse predictor convenience function for horizontal differencing
167167
///
168-
/// From image-tiff
168+
// From image-tiff
169169
///
170170
/// This should be used _after_ endianness fixing
171171
pub fn rev_hpredict_nsamp(buf: &mut [u8], bit_depth: u16, samples: usize) {
@@ -204,7 +204,7 @@ pub fn rev_hpredict_nsamp(buf: &mut [u8], bit_depth: u16, samples: usize) {
204204

205205
/// Fix endianness. If `byte_order` matches the host, then conversion is a no-op.
206206
///
207-
/// from image-tiff
207+
// from image-tiff
208208
pub fn fix_endianness(buffer: Bytes, byte_order: Endianness, bit_depth: u16) -> Bytes {
209209
#[cfg(target_endian = "little")]
210210
if let Endianness::LittleEndian = byte_order {

0 commit comments

Comments
 (0)