From 360e76177b2579d6596475e840f5f7532cceb939 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 10 Jan 2024 17:19:08 -0800 Subject: [PATCH] borrow opti for now reason --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6383200..e10c755 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1202,7 +1202,10 @@ fn extract_textures(paths:Vec,vpk_paths:Vecbytes.to_vec(), + std::borrow::Cow::Owned(bytes)=>bytes, + })); } } Ok::>,anyhow::Error>(None)