mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +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