Skip to content

Commit 575c850

Browse files
committed
cleanup
1 parent 565c97f commit 575c850

File tree

1 file changed

+0
-6
lines changed
  • crates/pg_workspace_new/src/workspace

1 file changed

+0
-6
lines changed

crates/pg_workspace_new/src/workspace/server.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ static RUNTIME: LazyLock<Runtime> =
4040
LazyLock::new(|| Runtime::new().expect("Failed to create Tokio runtime"));
4141

4242
impl DbConnection {
43-
pub(crate) fn is_connected_to(&self, connection_string: &str) -> bool {
44-
self.connection_string
45-
.as_ref()
46-
.is_some_and(|x| x == connection_string)
47-
}
48-
4943
pub(crate) fn get_pool(&self) -> Option<PgPool> {
5044
self.pool.clone()
5145
}

0 commit comments

Comments
 (0)