Skip to content

Commit 8dcf4ac

Browse files
committed
backend: fix cargo clippy
1 parent 713fae9 commit 8dcf4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/routes/selfdestruct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async fn get_charger(
3737
rate_limiter.check(uid.to_string(), req)?;
3838
Ok(get_charger_by_uid(uid, Some(schema.password), state).await?)
3939
} else {
40-
return Err(Error::ChargerCredentialsWrong.into());
40+
Err(Error::ChargerCredentialsWrong.into())
4141
}
4242
}
4343

0 commit comments

Comments
 (0)