mirror of
https://github.com/isar/rusqlite.git
synced 2026-01-22 04:32:26 +08:00
Add #[inline] and #[cold] in far more places
This commit is contained in:
@@ -354,6 +354,7 @@ unsafe impl VTabCursor for CSVTabCursor<'_> {
|
||||
}
|
||||
|
||||
impl From<csv::Error> for Error {
|
||||
#[cold]
|
||||
fn from(err: csv::Error) -> Error {
|
||||
Error::ModuleError(err.to_string())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user