Skip to content

Commit 4fef3ee

Browse files
committed
Run rustfmt
1 parent 9ffc8ed commit 4fef3ee

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

wundergraph_bench/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ fn graphiql(_req: &HttpRequest<AppState>) -> Result<HttpResponse, Error> {
109109
}
110110

111111
#[cfg_attr(feature = "clippy", allow(needless_pass_by_value))]
112-
fn graphql(
113-
(st, data): (State<AppState>, Json<GraphQLData>),
114-
) -> FutureResponse<HttpResponse> {
112+
fn graphql((st, data): (State<AppState>, Json<GraphQLData>)) -> FutureResponse<HttpResponse> {
115113
st.executor
116114
.send(data.0)
117115
.from_err()

wundergraph_cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ extern crate diesel;
2424

2525
use structopt::StructOpt;
2626

27-
mod print_schema;
28-
mod infer_schema_internals;
2927
mod database;
28+
mod infer_schema_internals;
29+
mod print_schema;
3030

3131
#[derive(StructOpt, Debug)]
3232
#[structopt(name = "wundergraph")]

0 commit comments

Comments
 (0)