mirror of
https://github.com/isar/rusqlite.git
synced 2026-03-29 09:39:11 +08:00
Add #[inline] and #[cold] in far more places
This commit is contained in:
@@ -51,6 +51,7 @@ pub(crate) unsafe extern "C" fn free_array(p: *mut c_void) {
|
||||
pub type Array = Rc<Vec<Value>>;
|
||||
|
||||
impl ToSql for Array {
|
||||
#[inline]
|
||||
fn to_sql(&self) -> Result<ToSqlOutput<'_>> {
|
||||
Ok(ToSqlOutput::Array(self.clone()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user