Inherit from Sized
Shuts off warnings
This commit is contained in:
parent
20ce974662
commit
6edceaaeb2
@ -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>;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user