various: remove unused imports and parameters; fix clippy lints
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ia7a4438e1aa73de2ea1bc6cdf26998f06a6a6964
This commit is contained in:
parent
dec4753567
commit
4b375bc546
6 changed files with 35 additions and 24 deletions
|
|
@ -6,7 +6,7 @@ use uuid::Uuid;
|
|||
use crate::{
|
||||
error::{CiError, Result},
|
||||
models::{CreateProjectMember, ProjectMember, UpdateProjectMember},
|
||||
roles::{VALID_PROJECT_ROLES, has_project_permission},
|
||||
roles::VALID_PROJECT_ROLES,
|
||||
validation::validate_role,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use uuid::Uuid;
|
|||
use crate::{
|
||||
error::{CiError, Result},
|
||||
models::{CreateUser, LoginCredentials, UpdateUser, User},
|
||||
roles::{ROLE_READ_ONLY, VALID_ROLES, is_valid_role},
|
||||
roles::{ROLE_READ_ONLY, VALID_ROLES},
|
||||
validation::{
|
||||
validate_email,
|
||||
validate_full_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue