Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Sep 13, 2023
1 parent f8d835f commit 0123165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl App {
output.write_all(&json_bytes)?;
output.flush()?;

return Ok(());
Ok(())
}

fn write_to_json_array<T: Write>(&self, mut output: T) -> Result<()> {
Expand All @@ -167,7 +167,7 @@ impl App {
}

fn write_to_json_kubernetes<T: Write>(&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)?;
Expand Down

0 comments on commit 0123165

Please sign in to comment.