Fix clippy warnings

This commit is contained in:
gwenn
2016-08-08 15:23:55 +02:00
parent bf8c495b69
commit b10c52f32f
4 changed files with 3 additions and 4 deletions

View File

@@ -50,6 +50,7 @@
//! }
//! }
//! ```
#![allow(unknown_lints)]
extern crate libc;
extern crate libsqlite3_sys as ffi;
@@ -975,6 +976,7 @@ pub struct Rows<'stmt> {
stmt: Option<&'stmt Statement<'stmt>>,
}
#[allow(should_implement_trait)]
impl<'stmt> Rows<'stmt> {
fn new(stmt: &'stmt Statement<'stmt>) -> Rows<'stmt> {
Rows { stmt: Some(stmt) }