feat: Add support for Sqlite vector store #289
Annotations
9 errors
rig-sqlite/src/lib.rs#L38
error: redundant closure
--> rig-sqlite/src/lib.rs:38:22
|
38 | .map_err(|e| tokio_rusqlite::Error::from(e))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
|
rig-sqlite/src/lib.rs#L71
error: redundant closure
--> rig-sqlite/src/lib.rs:71:30
|
71 | .map_err(|e| tokio_rusqlite::Error::from(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
rig-sqlite/src/lib.rs#L80
error: redundant closure
--> rig-sqlite/src/lib.rs:80:30
|
80 | .map_err(|e| tokio_rusqlite::Error::from(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
rig-sqlite/src/lib.rs#L78
error: the borrowed expression implements the required traits
--> rig-sqlite/src/lib.rs:78:25
|
78 | &[&doc.id, &doc.document.to_string()],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `[&doc.id, &doc.document.to_string()]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
rig-sqlite/src/lib.rs#L87
error: redundant closure
--> rig-sqlite/src/lib.rs:87:34
|
87 | .map_err(|e| tokio_rusqlite::Error::from(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
rig-sqlite/src/lib.rs#L98
error: redundant closure
--> rig-sqlite/src/lib.rs:98:38
|
98 | ... .map_err(|e| tokio_rusqlite::Error::from(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
rig-sqlite/src/lib.rs#L102
error: redundant closure
--> rig-sqlite/src/lib.rs:102:37
|
102 | tx.commit().map_err(|e| tokio_rusqlite::Error::from(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
rig-sqlite/src/lib.rs#L126
error: redundant closure
--> rig-sqlite/src/lib.rs:126:26
|
126 | .map_err(|e| tokio_rusqlite::Error::from(e))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `tokio_rusqlite::Error::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
|
The logs for this run have expired and are no longer available.
Loading