datastore/chunker: fix comment typos

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-07-22 16:12:49 +02:00
parent c3b090ac8a
commit 2ff4c2cd5f

View File

@ -5,15 +5,15 @@
/// use hash value 0 to detect a boundary. /// use hash value 0 to detect a boundary.
const CA_CHUNKER_WINDOW_SIZE: usize = 64; const CA_CHUNKER_WINDOW_SIZE: usize = 64;
/// Slinding window chunker (Buzhash) /// Sliding window chunker (Buzhash)
/// ///
/// This is a rewrite of *casync* chunker (cachunker.h) in rust. /// This is a rewrite of *casync* chunker (cachunker.h) in rust.
/// ///
/// Hashing by cyclic polynomial (also called Buzhash) has the benefit /// Hashing by cyclic polynomial (also called Buzhash) has the benefit
/// of avoiding multiplications, using barrel shifts instead. For more /// of avoiding multiplications, using barrel shifts instead. For more
/// information please take a look at the [Rolling /// information please take a look at the [Rolling
/// Hash](https://en.wikipedia.org/wiki/Rolling_hash) artikel from /// Hash](https://en.wikipedia.org/wiki/Rolling_hash) article from
/// wikipedia. /// Wikipedia.
pub struct Chunker { pub struct Chunker {
h: u32, h: u32,