We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Ok
1 parent ce7819a commit 9521a41Copy full SHA for 9521a41
src/io/sqlite_store.rs
@@ -116,9 +116,7 @@ impl KVStore for SqliteStore {
116
sql_tx.commit().map_err(|_| {
117
let msg = format!("Failed to commit transaction");
118
std::io::Error::new(std::io::ErrorKind::Other, msg)
119
- })?;
120
-
121
- Ok(())
+ })
122
}
123
124
fn remove(&self, namespace: &str, key: &str) -> std::io::Result<bool> {
@@ -192,8 +190,7 @@ impl KVStorePersister for SqliteStore {
192
190
})?;
193
191
let key = dest_without_namespace.display().to_string();
194
195
- self.write(&namespace, &key, &object.encode())?;
196
+ self.write(&namespace, &key, &object.encode())
197
198
199
0 commit comments