Remove useless clone in matcher action
@@ -66,7 +66,7 @@ impl ActionResolver {
cause: format!("Accessor [{:?}] returned empty value.", accessor),
})?;
- action.payload.insert(key.to_owned(), value.as_ref().clone());
+ action.payload.insert(key.to_owned(), value.into_owned());
}
Ok(action)
