fix breaking changes

This commit is contained in:
Ariel Ben-Yehuda 2016-04-22 13:56:25 +03:00
parent 2f8f256cef
commit 6fc19ada6b

View File

@ -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);