unuseds & cargo clippy
This commit is contained in:
@@ -17,10 +17,10 @@ const ISE_MSG: &str = "Internal server error";
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn Error>> {
|
||||
if let Err(e) = dotenvy::dotenv() {
|
||||
if !e.not_found() {
|
||||
return Err(e.into());
|
||||
}
|
||||
if let Err(e) = dotenvy::dotenv()
|
||||
&& !e.not_found()
|
||||
{
|
||||
return Err(e.into());
|
||||
}
|
||||
|
||||
database::migrations()?;
|
||||
|
||||
Reference in New Issue
Block a user