Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorPlatz committed Nov 28, 2023
1 parent 1210c2f commit 4bbeb8f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ use super::server::server::{
get_auth_token_request::{user_credentials, UserCredentials},
AccessInfo, CreateAccessRequest, CreateModelResponse, CreateQueryRequest, CreateUserRequest,
DeleteAccessRequest, DeleteQueryRequest, GetAuthTokenRequest, GetAuthTokenResponse,
ListAccessInfoResponse, QueryRequest, QueryResponse, SimulationStartRequest,
SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest, UpdateQueryRequest,
UpdateUserRequest, UserTokenResponse, GetModelRequest, GetModelResponse,
GetModelRequest, GetModelResponse, ListAccessInfoResponse, QueryRequest, QueryResponse,
SimulationStartRequest, SimulationStepRequest, SimulationStepResponse, UpdateAccessRequest,
UpdateQueryRequest, UpdateUserRequest, UserTokenResponse,
};
use super::server::server::{CreateModelRequest, DeleteModelRequest};
use crate::entities::{access, model, query, session, user};

Check warning on line 27 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / Clippy lint and check

unused import: `model`

warning: unused import: `model` --> src/api/ecdar_api.rs:27:31 | 27 | use crate::entities::{access, model, query, session, user}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default

Check warning on line 27 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / Clippy lint and check

unused import: `model`

warning: unused import: `model` --> src/api/ecdar_api.rs:27:31 | 27 | use crate::entities::{access, model, query, session, user}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default
Expand Down Expand Up @@ -126,7 +126,10 @@ impl ConcreteEcdarApi {

#[tonic::async_trait]
impl EcdarApi for ConcreteEcdarApi {
async fn get_model(&self, _request: Request<GetModelRequest>) -> Result<Response<GetModelResponse>, Status> {
async fn get_model(
&self,
_request: Request<GetModelRequest>,
) -> Result<Response<GetModelResponse>, Status> {
todo!()
}

Expand Down

0 comments on commit 4bbeb8f

Please sign in to comment.