Skip to content

Commit 6fc19ad

Browse files
committed
fix breaking changes
1 parent 2f8f256 commit 6fc19ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_back/sha2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn read_u32v_be(dst: &mut[u32], input: &[u8]) {
4242
}
4343
}
4444

45-
trait ToBits {
45+
trait ToBits: Sized {
4646
/// Convert the value in bytes to the number of bits, a tuple where the 1st item is the
4747
/// high-order value and the 2nd item is the low order value.
4848
fn to_bits(self) -> (Self, Self);

0 commit comments

Comments
 (0)