Skip to content

Commit 28311cd

Browse files
cursoragentlovasoa
andcommitted
Checkpoint before follow-up message
Co-authored-by: contact <[email protected]>
1 parent 124af64 commit 28311cd

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

sqlx-core/src/ext/ustr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ impl serde::Serialize for UStr {
103103
where
104104
S: serde::Serializer,
105105
{
106-
serializer.serialize_str(&self)
106+
serializer.serialize_str(self)
107107
}
108108
}

sqlx-core/src/logger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ impl<'q, O: Debug + Hash + Eq, R: Debug, P: Debug> QueryPlanLogger<'q, O, R, P>
105105
.to_level()
106106
.filter(|lvl| log::log_enabled!(target: "sqlx::explain", *lvl))
107107
{
108-
return true;
108+
true
109109
} else {
110-
return false;
110+
false
111111
}
112112
}
113113

sqlx-core/src/mssql/connection/tls_prelogin_stream_wrapper.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ use std::task::{self, ready, Poll};
3535
///
3636
/// This allows us to use standard TLS libraries while still conforming to the TDS protocol
3737
/// requirements for the PRELOGIN phase.
38-
3938
const HEADER_BYTES: usize = 8;
4039

4140
pub(crate) struct TlsPreloginWrapper<S> {

0 commit comments

Comments
 (0)