cargo fmt + clippy
All checks were successful
Build and test / check (push) Successful in 57s
Build and test / build (push) Successful in 1m32s
Build and test / test (push) Successful in 3m1s
Build and test / docs (push) Successful in 2m59s

This commit is contained in:
2026-01-05 18:24:56 +09:00
parent a499b5ad65
commit 7d11f143b0
3 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
use std::array;
use serde::{Deserialize, Serialize};
use bytes::{Buf, BufMut, BytesMut};
use chrono::{DateTime, Duration, Utc};
use serde::{Deserialize, Serialize};
/// Classic C struct for utmp data for a single user session.
///

View File

@@ -1,2 +1,2 @@
pub mod rwhod;
pub mod config;
pub mod rwhod;

View File

@@ -272,7 +272,7 @@ pub struct RwhodClientServer {
whod_status_store: Arc<tokio::sync::RwLock<HashMap<IpAddr, WhodStatusUpdate>>>,
}
impl<'a> RwhodClientServer {
impl RwhodClientServer {
pub fn new(
whod_status_store: Arc<tokio::sync::RwLock<HashMap<IpAddr, WhodStatusUpdate>>>,
) -> Self {