Skip to content

Commit b905053

Browse files
authored
Fix nightly Clippy warning (#3665)
1 parent 975af89 commit b905053

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/libs/core/src/imp/sha1.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ pub struct ConstBuffer {
1616
head: usize,
1717
}
1818

19+
impl Default for ConstBuffer {
20+
fn default() -> Self {
21+
Self::new()
22+
}
23+
}
24+
1925
impl ConstBuffer {
2026
pub const fn for_class<C: crate::RuntimeName, I: crate::RuntimeType>() -> Self {
2127
Self::new()

0 commit comments

Comments
 (0)