From 420c4d4d9f05d0bb03fe2745f01933b8e59d5e6c Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Tue, 3 Nov 2015 11:27:52 -0500 Subject: [PATCH] Address RFC 1214 warning --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 5ad4ed7..a1d041f 100644 --- a/src/types.rs +++ b/src/types.rs @@ -74,7 +74,7 @@ pub trait ToSql { } /// A trait for types that can be created from a SQLite value. -pub trait FromSql { +pub trait FromSql: Sized { unsafe fn column_result(stmt: *mut sqlite3_stmt, col: c_int) -> SqliteResult; /// FromSql types can implement this method and use sqlite3_column_type to check that