Skip to content

Commit 681b931

Browse files
fixed error of no param for error type
1 parent 11f4ee0 commit 681b931

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libsql/src/hrana/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl Row {
326326

327327
impl RowInner for Row {
328328
fn column_value(&self, idx: i32) -> crate::Result<crate::Value> {
329-
let v = self.inner.get(idx as usize).cloned().ok_or_else(|| crate::Error::InvalidColumnIndex(idx))?;
329+
let v = self.inner.get(idx as usize).cloned().ok_or_else(|| crate::Error::InvalidColumnIndex)?;
330330
Ok(into_value2(v))
331331
}
332332

0 commit comments

Comments
 (0)