Inherit from Sized

Shuts off warnings
This commit is contained in:
Abhishek Chanda 2015-08-26 23:59:09 -07:00
parent 20ce974662
commit 6edceaaeb2

View File

@ -441,7 +441,7 @@ fn read_row_description<R: BufRead>(buf: &mut R) -> io::Result<BackendMessage> {
Ok(RowDescription { descriptions: types })
}
trait FromUsize {
trait FromUsize: Sized {
fn from_usize(x: usize) -> io::Result<Self>;
}