Skip to content

Commit c664f17

Browse files
committed
run cargo fmt
1 parent d24a060 commit c664f17

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

datafusion-postgres/src/handlers.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,14 @@ impl DfSessionService {
141141
// Use a hash of PID, secret key, and socket address for better uniqueness
142142
let (pid, secret) = client.pid_and_secret_key();
143143
let socket_addr = client.socket_addr();
144-
144+
145145
// Create a hash of all identifying values
146146
let mut hasher = std::collections::hash_map::DefaultHasher::new();
147147
pid.hash(&mut hasher);
148148
secret.hash(&mut hasher);
149149
socket_addr.hash(&mut hasher);
150-
151-
let conn_id = hasher.finish();
152-
conn_id
150+
151+
hasher.finish()
153152
}
154153

155154
/// Check if the current user has permission to execute a query

0 commit comments

Comments
 (0)