improvements

This commit is contained in:
nora 2022-02-19 18:38:50 +01:00
parent 13deef42fd
commit c5d83fe776
7 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,3 @@
#![allow(dead_code)]
extern crate core;
mod classes;
@ -29,7 +27,7 @@ pub async fn do_thing_i_guess() -> Result<()> {
info!(local_addr = ?stream.local_addr(), %id, "Accepted new connection");
let span = info_span!("client-connection", %id);
let connection = Connection::new(stream, id);
let connection = Connection::new(stream);
tokio::spawn(connection.start_connection_processing().instrument(span));
}