Update backend code to Rust Edition 2024
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 19:25:15 +01:00
parent 658b10f5f8
commit 665a04c8a0
24 changed files with 915 additions and 479 deletions

View File

@ -147,7 +147,7 @@ pub fn relay_total_runtime_adjusted(relay: &DeviceRelay) -> usize {
#[cfg(test)]
mod tests {
use crate::devices::device::DeviceRelayID;
use crate::energy::relay_state_history::{relay_total_runtime, RelayStateHistory};
use crate::energy::relay_state_history::{RelayStateHistory, relay_total_runtime};
#[test]
fn test_relay_state_history() {