diff --git a/src/message.rs b/src/message.rs index 765d56d3..ba15f0c2 100644 --- a/src/message.rs +++ b/src/message.rs @@ -441,7 +441,7 @@ fn read_row_description(buf: &mut R) -> io::Result { Ok(RowDescription { descriptions: types }) } -trait FromUsize { +trait FromUsize: Sized { fn from_usize(x: usize) -> io::Result; }