Skip to content

Commit d254848

Browse files
committed
Apply cargo fmt
1 parent e199d09 commit d254848

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

libsql-server/src/rpc/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub async fn run_rpc_server<A: Accept>(
9898

9999
// Create a stream of connections from the acceptor
100100
let incoming = plain_incoming_stream(acceptor);
101-
101+
102102
tracing::info!("Starting gRPC server with incoming stream");
103103

104104
// Serve with tonic's native server
@@ -116,7 +116,10 @@ struct TlsIncomingStream<A: Accept> {
116116

117117
impl<A: Accept> TlsIncomingStream<A> {
118118
fn new(acceptor: A, tls_acceptor: TlsAcceptor) -> Self {
119-
Self { acceptor, tls_acceptor }
119+
Self {
120+
acceptor,
121+
tls_acceptor,
122+
}
120123
}
121124
}
122125

0 commit comments

Comments
 (0)