Format and clippy
This commit is contained in:
parent
466b4cb994
commit
bc4a898c0a
12 changed files with 17 additions and 27 deletions
|
|
@ -3,7 +3,6 @@ use std::error::Error;
|
|||
use std::ffi::OsStr;
|
||||
use std::fmt;
|
||||
use std::io;
|
||||
|
||||
use std::path::Path;
|
||||
use std::path::PathBuf;
|
||||
use std::process::Output;
|
||||
|
|
@ -23,8 +22,8 @@ pub enum UserServiceError<E: Error> {
|
|||
}
|
||||
|
||||
impl From<io::Error> for UserServiceError<io::Error> {
|
||||
fn from(err: io::Error) -> UserServiceError<io::Error> {
|
||||
UserServiceError::ExecError(err)
|
||||
fn from(err: io::Error) -> Self {
|
||||
Self::ExecError(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue