mirror of
https://github.com/isar/rusqlite.git
synced 2025-11-25 14:12:26 +08:00
Use track_caller for panicking methods
This commit is contained in:
@@ -158,6 +158,7 @@ impl<'a> ValueRef<'a> {
|
||||
|
||||
impl From<ValueRef<'_>> for Value {
|
||||
#[inline]
|
||||
#[track_caller]
|
||||
fn from(borrowed: ValueRef<'_>) -> Value {
|
||||
match borrowed {
|
||||
ValueRef::Null => Value::Null,
|
||||
|
||||
Reference in New Issue
Block a user