diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-04-22 13:56:25 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-05-03 18:30:10 +0300 |
| commit | 6fc19ada6b2c6373b28e70a1dffda68dba96f9a1 (patch) | |
| tree | 9590ad37d2b63c2e67308459f3cafdae885beb44 | |
| parent | 2f8f256cef42350af2f0376891fd020b6b1c37de (diff) | |
| download | rust-6fc19ada6b2c6373b28e70a1dffda68dba96f9a1.tar.gz rust-6fc19ada6b2c6373b28e70a1dffda68dba96f9a1.zip | |
fix breaking changes
| -rw-r--r-- | src/librustc_back/sha2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_back/sha2.rs b/src/librustc_back/sha2.rs index ba8107e03c9..26f512e0613 100644 --- a/src/librustc_back/sha2.rs +++ b/src/librustc_back/sha2.rs @@ -42,7 +42,7 @@ fn read_u32v_be(dst: &mut[u32], input: &[u8]) { } } -trait ToBits { +trait ToBits: Sized { /// Convert the value in bytes to the number of bits, a tuple where the 1st item is the /// high-order value and the 2nd item is the low order value. fn to_bits(self) -> (Self, Self); |
