Skip to content

Commit 863a1c0

Browse files
committed
rm unused imports
1 parent a710189 commit 863a1c0

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/io/vss_store.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
use std::io::Cursor;
2-
use std::io::Read;
3-
use std::sync::Arc;
4-
use std::{error::Error, io};
2+
use std::io;
53

6-
use crate::io::get_namespace_and_key_from_prefixed;
7-
use crate::KVStore;
84
use lightning::util::persist::KVStorePersister;
95
use lightning::util::ser::Writeable;
106
use tokio::runtime::Runtime;
@@ -14,6 +10,9 @@ use vss_client::types::{
1410
DeleteObjectRequest, GetObjectRequest, KeyValue, ListKeyVersionsRequest, PutObjectRequest,
1511
};
1612

13+
use crate::io::get_namespace_and_key_from_prefixed;
14+
use crate::KVStore;
15+
1716
/// A [`KVStore`] implementation that writes to and reads from a [VSS](https://github.com/lightningdevkit/vss-server/blob/main/README.md) backend.
1817
pub struct VssStore {
1918
client: VssClient,
@@ -153,10 +152,13 @@ impl KVStorePersister for VssStore {
153152

154153
#[cfg(test)]
155154
mod tests {
156-
use super::*;
155+
use proptest::prelude::*;
156+
157157
use crate::io::do_read_write_remove_list_persist;
158158
use crate::test::utils::random_storage_path;
159-
use proptest::prelude::*;
159+
160+
use super::*;
161+
160162
proptest! {
161163
#[test]
162164
fn read_write_remove_list_persist(data in any::<[u8; 32]>()) {

0 commit comments

Comments
 (0)