mirror of
https://github.com/isar/rusqlite.git
synced 2025-11-01 22:38:55 +08:00
Fix some clippy warnings
* Rows cannot implement iterator * DatabaseName is passed by value => Copy ?
This commit is contained in:
@@ -152,6 +152,7 @@ fn path_to_cstring(p: &Path) -> Result<CString> {
|
||||
}
|
||||
|
||||
/// Name for a database within a SQLite connection.
|
||||
#[derive(Copy,Clone)]
|
||||
pub enum DatabaseName<'a> {
|
||||
/// The main database.
|
||||
Main,
|
||||
|
||||
Reference in New Issue
Block a user