core/compr: fix documentation comments
[nihav.git] / nihav-core / src / compr / mod.rs
index 106b03adc24a6f92235424b229607de8c69cebbd..a2062d497be3246ac92bb2b56b6b4c6ebab0abed 100644 (file)
@@ -55,8 +55,8 @@ impl From<CodebookError> for DecompressError {
     }
 }
 
-///! Copies requested amount of bytes from previous position in the same buffer.
-///! If source area overlaps with destination area already copied values should be used e.g. copying with offset 1 means essentially to repeat previous byte requested number of times.
+/// Copies requested amount of bytes from previous position in the same buffer.
+/// If source area overlaps with destination area already copied values should be used e.g. copying with offset 1 means essentially to repeat previous byte requested number of times.
 pub fn lz_copy(buf: &mut [u8], dst_pos: usize, offset: usize, len: usize) {
     if dst_pos < offset {
         panic!("Copy offset is before buffer start.");