Clippy lint

This commit is contained in:
AB
2021-01-05 05:17:22 +03:00
parent e09047bb5b
commit 3136bce84f
4 changed files with 12 additions and 16 deletions

View File

@ -57,18 +57,18 @@ impl From<io_error> for Error {
impl From<serde_error> for Error {
fn from(e: serde_error) -> Error {
return Error::JsonParseError(e);
Error::JsonParseError(e)
}
}
impl From<popen_error> for Error {
fn from(e: popen_error) -> Error {
return Error::PopenError(e);
Error::PopenError(e)
}
}
impl From<mystem_error> for Error {
fn from(e: mystem_error) -> Error {
return Error::MystemError(e);
Error::MystemError(e)
}
}