Fix some clippy issues
This commit is contained in:
parent
ab7090f2c5
commit
6f2deb38e1
4 changed files with 9 additions and 16 deletions
emgauwa-controller/src
|
@ -46,9 +46,7 @@ pub async fn app_state_update_relays_on(
|
|||
relay_states: RelayStates,
|
||||
) -> Result<(), EmgauwaError> {
|
||||
app_state
|
||||
.send(app_state::UpdateRelayStates {
|
||||
relay_states: relay_states,
|
||||
})
|
||||
.send(app_state::UpdateRelayStates { relay_states })
|
||||
.await
|
||||
.map_err(EmgauwaError::from)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue