Skip to content

Commit 3ff3bdc

Browse files
authored
Merge pull request #668 from SpriteOvO/value-clone
Derive `Clone` for `kv::Value`
2 parents 22be810 + 310c9b4 commit 3ff3bdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/kv/value.rs

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ impl<'v> ToValue for Value<'v> {
115115
/// `Display` implementation, it will serialize through `serde` as a string. If it was
116116
/// captured as a struct using `serde`, it will also serialize as a struct
117117
/// through `sval`, or can be formatted using a `Debug`-compatible representation.
118+
#[derive(Clone)]
118119
pub struct Value<'v> {
119120
inner: inner::Inner<'v>,
120121
}

0 commit comments

Comments
 (0)