File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,9 @@ jobs:
253
253
cd api
254
254
cargo fmt --check
255
255
- name : Run clippy
256
+ env :
257
+ # Treat warnings as errors
258
+ RUSTFLAGS : " -D warnings"
256
259
run : |
257
260
cd api
258
261
cargo clippy --frozen --quiet
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ pub struct Member {
87
87
#[ allow( non_snake_case) ]
88
88
#[ serde( rename_all = "camelCase" ) ]
89
89
pub struct Geometry {
90
- #[ serde( rename= "type" ) ]
90
+ #[ serde( rename = "type" ) ]
91
91
typ : String ,
92
92
positions : Vec < Cartesian3 > ,
93
93
id : Option < String > ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use axum::{
9
9
use clap:: Parser ;
10
10
use hyper:: header:: { ACCEPT , AUTHORIZATION , CONTENT_TYPE } ;
11
11
use sqlx:: PgPool ;
12
- use tower:: { ServiceBuilder } ;
12
+ use tower:: ServiceBuilder ;
13
13
use tower_http:: { cors:: CorsLayer , trace:: TraceLayer } ;
14
14
15
15
pub use config:: Config ;
You can’t perform that action at this time.
0 commit comments