summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraviac <aviac@mailbox.org>2024-01-19 11:25:38 +0100
committeraviac <aviac@mailbox.org>2024-01-22 09:01:09 +0100
commit331bb80acf403239f8c6ebb002241a3f2e2a4463 (patch)
treecf668baff81bf60c1dac9120bcbad7063ad3fb4d
parentput test repo in current dir instead of root (diff)
downloadforgejo-api-331bb80acf403239f8c6ebb002241a3f2e2a4463.tar.xz
forgejo-api-331bb80acf403239f8c6ebb002241a3f2e2a4463.zip
fix(typo?): remove weird line
Authored-by: Aviac <aviac@mailbox.org>
-rw-r--r--generator/src/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/generator/src/main.rs b/generator/src/main.rs
index cc02416..9e647af 100644
--- a/generator/src/main.rs
+++ b/generator/src/main.rs
@@ -1023,7 +1023,6 @@ fn create_query_struct(spec: &OpenApiV2, path: &str, op: &Operation) -> eyre::Re
imp.push_str(&handler);
}
}
- imp.push_str("s\n");
if fields.is_empty() {
return Ok(String::new());
} else {