mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 17:05:36 +01:00
fix clippy
This commit is contained in:
@@ -314,7 +314,6 @@ impl PartialOrd<OwnedValue> for OwnedValue {
|
||||
(Self::Null, Self::Null) => Some(std::cmp::Ordering::Equal),
|
||||
(Self::Null, _) => Some(std::cmp::Ordering::Less),
|
||||
(_, Self::Null) => Some(std::cmp::Ordering::Greater),
|
||||
other => todo!("{:?}", other),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -654,7 +653,6 @@ impl PartialOrd<OwnedValue> for RefValue {
|
||||
(Self::Null, OwnedValue::Null) => Some(std::cmp::Ordering::Equal),
|
||||
(Self::Null, _) => Some(std::cmp::Ordering::Less),
|
||||
(_, OwnedValue::Null) => Some(std::cmp::Ordering::Greater),
|
||||
other => todo!("{:?}", other),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -698,7 +696,6 @@ impl PartialOrd<RefValue> for OwnedValue {
|
||||
(Self::Null, RefValue::Null) => Some(std::cmp::Ordering::Equal),
|
||||
(Self::Null, _) => Some(std::cmp::Ordering::Less),
|
||||
(_, RefValue::Null) => Some(std::cmp::Ordering::Greater),
|
||||
other => todo!("{:?}", other),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +79,6 @@ mod tests {
|
||||
limbo_core::OwnedValue::Float(x) => rusqlite::types::Value::Real(*x),
|
||||
limbo_core::OwnedValue::Text(x) => rusqlite::types::Value::Text(x.to_string()),
|
||||
limbo_core::OwnedValue::Blob(x) => rusqlite::types::Value::Blob(x.to_vec()),
|
||||
_ => unreachable!(),
|
||||
})
|
||||
.collect();
|
||||
rows.push(row);
|
||||
|
||||
Reference in New Issue
Block a user