We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7ca3c commit 55ba43dCopy full SHA for 55ba43d
src/source.rs
@@ -26,7 +26,7 @@ pub trait Source: Debug {
26
}
27
28
29
-fn set_value(cache: &mut Value, key: &String, value: &Value) {
+fn set_value(cache: &mut Value, key: &str, value: &Value) {
30
match path::Expression::from_str(key) {
31
// Set using the path
32
Ok(expr) => expr.set(cache, value.clone()),
0 commit comments