remove unused socket_path

This commit is contained in:
Josh Thomas 2024-12-10 22:18:20 -06:00
parent 6f27c5ba9d
commit 2cbc24b5f0

View file

@ -81,8 +81,6 @@ pub struct Message<T> {
pub struct Client { pub struct Client {
connection: Connection, connection: Connection,
message_id: u64, message_id: u64,
#[cfg(test)]
socket_path: PathBuf,
} }
impl Client { impl Client {
@ -91,8 +89,6 @@ impl Client {
Ok(Self { Ok(Self {
connection, connection,
message_id: 0, message_id: 0,
#[cfg(test)]
socket_path: path.to_owned(),
}) })
} }
@ -359,7 +355,6 @@ mod client_tests {
struct TestClient { struct TestClient {
connection: MockConnection, connection: MockConnection,
message_id: u64, message_id: u64,
socket_path: PathBuf,
} }
impl TestClient { impl TestClient {
@ -367,7 +362,6 @@ mod client_tests {
Self { Self {
connection: mock_conn, connection: mock_conn,
message_id: 0, message_id: 0,
socket_path: PathBuf::from("/test/socket"),
} }
} }