mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-06 02:13:48 +00:00
fix: clippy warnings
This commit is contained in:
@@ -73,7 +73,7 @@ impl ColumnIndex<SqliteRow> for &'_ str {
|
||||
row.column_names
|
||||
.get(*self)
|
||||
.ok_or_else(|| Error::ColumnNotFound((*self).into()))
|
||||
.map(|v| *v)
|
||||
.copied()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user