Add #[deriving(Copy)] as appropriate

This commit is contained in:
John Gallagher
2014-12-23 12:22:05 -05:00
parent 13fc87fe11
commit 678fd0f3a3
2 changed files with 2 additions and 0 deletions

View File

@@ -141,6 +141,7 @@ impl<T: ToSql> ToSql for Option<T> {
/// conn.execute("INSERT INTO people (name) VALUES (?)", &[&Null])
/// }
/// ```
#[deriving(Copy)]
pub struct Null;
impl ToSql for Null {