mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-16 16:53:02 +00:00
fmt
This commit is contained in:
+4
-1
@@ -197,7 +197,10 @@ impl std::fmt::Display for EndpointCacheKey {
|
||||
|
||||
impl From<intern::EndpointIdInt> for EndpointCacheKey {
|
||||
fn from(value: intern::EndpointIdInt) -> Self {
|
||||
Self { endpoint: value, options: None }
|
||||
Self {
|
||||
endpoint: value,
|
||||
options: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
impl EndpointCacheKey {
|
||||
|
||||
@@ -58,10 +58,7 @@ impl fmt::Display for ConnInfo {
|
||||
write!(
|
||||
f,
|
||||
"{}@{}/{}?{}",
|
||||
self.user_info.user,
|
||||
self.user_info.endpoint,
|
||||
self.dbname,
|
||||
self.user_info.options
|
||||
self.user_info.user, self.user_info.endpoint, self.dbname, self.user_info.options
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user