Skip to content

Commit caa3368

Browse files
committed
clippy: add Default impl for checksum engine
1 parent a455c91 commit caa3368

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/descriptor/checksum.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ pub struct Engine {
7979
clscount: u64,
8080
}
8181

82+
impl Default for Engine {
83+
fn default() -> Engine {
84+
Engine::new()
85+
}
86+
}
87+
8288
impl Engine {
8389
/// Construct an engine with no input
8490
pub fn new() -> Self {

0 commit comments

Comments
 (0)