commit dd5e4cec7354f2655cf488b8ba6b782a9b5f2b74
parent f0125b95c114797b3897c366262e5efa83087d32
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Thu, 12 Jan 2023 19:15:14 +0100
Merge branch 'BlackDex-fix-remaining-inline'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config.rs b/src/config.rs
@@ -1222,7 +1222,7 @@ fn to_json<'reg, 'rc>(
) -> HelperResult {
let param = h.param(0).ok_or_else(|| RenderError::new("Expected 1 parameter for \"to_json\""))?.value();
let json = serde_json::to_string(param)
- .map_err(|e| RenderError::new(format!("Can't serialize parameter to JSON: {}", e)))?;
+ .map_err(|e| RenderError::new(format!("Can't serialize parameter to JSON: {e}")))?;
out.write(&json)?;
Ok(())
}