diff options
author | BlackDex <[email protected]> | 2023-01-09 20:32:56 +0100 |
---|---|---|
committer | BlackDex <[email protected]> | 2023-01-09 20:41:31 +0100 |
commit | 92dc48b8828754799629f189419b9b0c6e871327 (patch) | |
tree | ae9af5a6247cc66630164eeb4554c9dfea3c0732 /src/config.rs | |
parent | 367e1ce289cea6a3251b7350a6707c700bd8a544 (diff) | |
download | vaultwarden-92dc48b8828754799629f189419b9b0c6e871327.tar.gz vaultwarden-92dc48b8828754799629f189419b9b0c6e871327.zip |
Fix remaning inline format
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index fa8bea66..f8990dc0 100644 --- 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(()) } |