We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc22046 commit 585311bCopy full SHA for 585311b
1 file changed
src/crc.rs
@@ -4,8 +4,6 @@ use std::io;
4
use std::io::prelude::*;
5
6
/// The CRC calculated by a [`CrcReader`].
7
-///
8
-/// [`CrcReader`]: struct.CrcReader.html
9
#[derive(Debug, Default)]
10
pub struct Crc {
11
inner: inner::Crc,
@@ -33,7 +31,9 @@ impl Crc {
33
31
self.inner.update(data);
34
32
}
35
36
- /// Reset the CRC.
+ /// Reset the CRC, to start a new hash.
+ ///
+ /// Do this in favor of creating a new `Crc` instance.
37
pub fn reset(&mut self) {
38
self.inner.reset();
39
0 commit comments