Skip to content

Commit 7480f69

Browse files
committed
Removed a duplicate binding for an address for rust-server. The address binding happens higher up in the method.
1 parent 42af4f9 commit 7480f69

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

modules/openapi-generator/src/main/resources/rust-server/example-server-common.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ pub async fn create(addr: &str, https: bool) {
7676
}
7777
} else {
7878
info!("Starting a server (over http, so no TLS)");
79-
// Using HTTP
80-
let listener = TcpListener::bind(&addr).await.unwrap();
8179
println!("Listening on http://{}", addr);
8280
8381
loop {

0 commit comments

Comments
 (0)