cargo fmt
This commit is contained in:
@@ -75,7 +75,10 @@ impl OwnerValidationError {
|
|||||||
pub fn to_error_message(self, name: &str, db_or_user: DbOrUser) -> String {
|
pub fn to_error_message(self, name: &str, db_or_user: DbOrUser) -> String {
|
||||||
let user = UnixUser::from_enviroment();
|
let user = UnixUser::from_enviroment();
|
||||||
|
|
||||||
let UnixUser { username, mut groups } = user.unwrap_or(UnixUser {
|
let UnixUser {
|
||||||
|
username,
|
||||||
|
mut groups,
|
||||||
|
} = user.unwrap_or(UnixUser {
|
||||||
username: "???".to_string(),
|
username: "???".to_string(),
|
||||||
groups: vec![],
|
groups: vec![],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user