Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Jun 22, 2024
1 parent 9f70146 commit 704f82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Server {
pub fn send_frame(&self, stream_id: u16, frame: Frame) -> Result<(), Error> {
self.inner.send_frame(stream_id, frame)
}
/// Serve (requires a tokio runtime)
/// Run the server
pub fn serve(&self, addr: impl ToSocketAddrs + std::fmt::Debug) -> Result<(), Error> {
trace!(?addr, "starting server");
let semaphore = Semaphore::new(self.inner.max_clients.load(atomic::Ordering::Relaxed));
Expand Down

0 comments on commit 704f82c

Please sign in to comment.