Skip to content

Commit 5b5a242

Browse files
committed
fix thruster
1 parent 4737d69 commit 5b5a242

File tree

1 file changed

+1
-3
lines changed
  • benchmark/hello-world/thruster/src

1 file changed

+1
-3
lines changed

benchmark/hello-world/thruster/src/main.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ async fn hello(mut ctx: Context, _next: MiddlewareNext<Context>) -> MiddlewareRe
88
}
99

1010
fn main() {
11-
let mut app = App::<Request, Context, ()>::new_basic();
12-
app.get("/", m![hello]);
11+
let app = App::<Request, Context, ()>::new_basic().get("/", m![hello]);
1312

1413
Server::new(app).start("127.0.0.1", 3000);
15-
1614
}

0 commit comments

Comments
 (0)