aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warden-core')
-rw-r--r--lib/warden-core/src/configuration/conv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/warden-core/src/configuration/conv.rs b/lib/warden-core/src/configuration/conv.rs
index c5c7768..02f0d27 100644
--- a/lib/warden-core/src/configuration/conv.rs
+++ b/lib/warden-core/src/configuration/conv.rs
@@ -103,7 +103,7 @@ impl serde::Serialize for GenericParameter {
where
S: serde::Serializer,
{
- let json = serde_json::Value::from(self.0.clone());
+ let json = self.0.clone();
json.serialize(serializer)
}
}