From 0123165074164b94c567ffa0cbd4916045aafe7f Mon Sep 17 00:00:00 2001 From: Praveen Perera Date: Wed, 13 Sep 2023 12:22:15 -0400 Subject: [PATCH] Fix clippy errors --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 93152f6..fc9cdc0 100644 --- a/src/app.rs +++ b/src/app.rs @@ -144,7 +144,7 @@ impl App { output.write_all(&json_bytes)?; output.flush()?; - return Ok(()); + Ok(()) } fn write_to_json_array(&self, mut output: T) -> Result<()> { @@ -167,7 +167,7 @@ impl App { } fn write_to_json_kubernetes(&self, mut output: T) -> Result<()> { - output.write_all(br##"{"kind": "List", "apiVersion": "v1", "items": ["##)?; + output.write_all(br#"{"kind": "List", "apiVersion": "v1", "items": ["#)?; for (index, yaml_value) in self.get_yamls_iter().iter().enumerate() { let json_bytes = serde_json::to_vec(&yaml_value)?;