From 9c46af2e2223a15d489d0e4d5bf3798989e05308 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 9 Apr 2024 08:20:06 +0100 Subject: [PATCH] fix(network): Make NetRequest::new public --- src/network/net_request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/net_request.rs b/src/network/net_request.rs index af66679..af1ce53 100644 --- a/src/network/net_request.rs +++ b/src/network/net_request.rs @@ -92,7 +92,7 @@ impl NetRequest { .url(net_url) } - const fn new( + pub const fn new( method: RequestMethod, url: NetUrl, headers: NetRequestHeaders,