cargo fmt + clippy
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
pub mod rwhod;
|
||||
pub mod config;
|
||||
pub mod rwhod;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user