X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-core%2Fsrc%2Fcompr%2Fmod.rs;fp=nihav-core%2Fsrc%2Fcompr%2Fmod.rs;h=a2062d497be3246ac92bb2b56b6b4c6ebab0abed;hb=79fa5fbff6700b9443a58e0bd71bfef9a1e5a073;hp=106b03adc24a6f92235424b229607de8c69cebbd;hpb=d1de08f431ebff4c20f7cb7567e85258a364c7a2;p=nihav.git diff --git a/nihav-core/src/compr/mod.rs b/nihav-core/src/compr/mod.rs index 106b03a..a2062d4 100644 --- a/nihav-core/src/compr/mod.rs +++ b/nihav-core/src/compr/mod.rs @@ -55,8 +55,8 @@ impl From 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.");