Skip to content

Commit 3460317

Browse files
committed
kv: add Clone trait to struct
1 parent 6d3e977 commit 3460317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub enum KvError {
5454
/// Kv helper struct for a db.
5555
/// Opening or creating a kv will give you a Result<Kv>.
5656
/// You can call it's impl functions to interact with it.
57-
#[derive(Debug, Serialize, Deserialize)]
57+
#[derive(Debug, Clone, Serialize, Deserialize)]
5858
pub struct Kv<K, V> {
5959
pub package_id: PackageId,
6060
pub db: String,

0 commit comments

Comments
 (0)