commit 6fcf18ab5132a2e3c0ddb725f1e6fb3f3bb91c15
parent d122c10573f9533bda18d0b8783d7b9d13ffec50
Author: BlackDex <black.dex@gmail.com>
Date: Mon, 9 Jan 2023 20:32:56 +0100
Fix remaning inline format
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(())
}