Fix std.net.StreamServer.Connection ref

This commit is contained in:
jaina heartles 2022-07-09 15:04:46 -07:00
parent ce08b76cdc
commit c1c5e3014d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ pub const Connection = struct {
address: std.net.Address,
stream: std.net.Stream,
fn new(id: Id, std_conn: std.net.Connection) Connection {
fn new(id: Id, std_conn: std.net.StreamServer.Connection) Connection {
std.log.debug("new connection conn_id={}", .{id});
return .{
.id = id,