Skip to content

Commit 241c1c1

Browse files
author
david.kotval
committed
fix: formatting
1 parent aa8eb08 commit 241c1c1

File tree

1 file changed

+2
-2
lines changed
  • connectorx/src/sources/mssql

1 file changed

+2
-2
lines changed

connectorx/src/sources/mssql/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub fn mssql_config(url: &Url) -> Config {
6363
// Using SQL Server authentication.
6464
#[allow(unused)]
6565
let params: HashMap<String, String> = url.query_pairs().into_owned().collect();
66-
#[cfg(any(windows,feature = "integrated-auth-gssapi"))]
66+
#[cfg(any(windows, feature = "integrated-auth-gssapi"))]
6767
match params.get("trusted_connection") {
6868
// pefer trusted_connection if set to true
6969
Some(v) if v == "true" => {
@@ -78,7 +78,7 @@ pub fn mssql_config(url: &Url) -> Config {
7878
));
7979
}
8080
};
81-
#[cfg(all(not(windows),not(feature = "integrated-auth-gssapi")))]
81+
#[cfg(all(not(windows), not(feature = "integrated-auth-gssapi")))]
8282
config.authentication(AuthMethod::sql_server(
8383
decode(url.username())?.to_owned(),
8484
decode(url.password().unwrap_or(""))?.to_owned(),

0 commit comments

Comments
 (0)