Skip to content

Commit dad02b8

Browse files
committed
f One into() is enough
1 parent 9331f11 commit dad02b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ impl Builder {
354354
pub fn build(&self) -> Arc<Node<SqliteStore>> {
355355
let storage_dir_path = self.config.read().unwrap().storage_dir_path.clone();
356356
fs::create_dir_all(storage_dir_path.clone()).expect("Failed to create LDK data directory");
357-
let kv_store = Arc::new(SqliteStore::new(storage_dir_path.into()).into());
357+
let kv_store = Arc::new(SqliteStore::new(storage_dir_path.into()));
358358
self.build_with_store(kv_store)
359359
}
360360

0 commit comments

Comments
 (0)