mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-26 20:09:29 +00:00
remove unused socket_path
This commit is contained in:
parent
6f27c5ba9d
commit
2cbc24b5f0
1 changed files with 0 additions and 6 deletions
|
@ -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"),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue