Skip to content

Commit 873a006

Browse files
committed
PostgresConnectTarget -> ConnectTarget
1 parent cea1578 commit 873a006

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub type Result<T> = result::Result<T, PostgresError>;
155155

156156
/// Specifies the target server to connect to.
157157
#[deriving(Clone)]
158-
pub enum PostgresConnectTarget {
158+
pub enum ConnectTarget {
159159
/// Connect via TCP to the specified host.
160160
TargetTcp(String),
161161
/// Connect via a Unix domain socket in the specified directory.
@@ -175,7 +175,7 @@ pub struct PostgresUserInfo {
175175
#[deriving(Clone)]
176176
pub struct PostgresConnectParams {
177177
/// The target server
178-
pub target: PostgresConnectTarget,
178+
pub target: ConnectTarget,
179179
/// The target port.
180180
///
181181
/// Defaults to 5432 if not specified.

0 commit comments

Comments
 (0)