Skip to content

Commit

Permalink
Merge pull request #668 from SpriteOvO/value-clone
Browse files Browse the repository at this point in the history
Derive `Clone` for `kv::Value`
  • Loading branch information
KodrAus authored Feb 14, 2025
2 parents 22be810 + 310c9b4 commit 3ff3bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kv/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ impl<'v> ToValue for Value<'v> {
/// `Display` implementation, it will serialize through `serde` as a string. If it was
/// captured as a struct using `serde`, it will also serialize as a struct
/// through `sval`, or can be formatted using a `Debug`-compatible representation.
#[derive(Clone)]
pub struct Value<'v> {
inner: inner::Inner<'v>,
}
Expand Down

0 comments on commit 3ff3bdc

Please sign in to comment.