remove uses of to_owned (#764)

* remove uses of to_owned

* more

* more
This commit is contained in:
Logan McNaughton
2026-04-17 09:59:32 +02:00
committed by GitHub
parent 28aa8ea280
commit a592d0eb84
3 changed files with 16 additions and 20 deletions
+2 -3
View File
@@ -62,11 +62,10 @@ fn main() {
.include("parallel-rdp/parallel-rdp-standalone/vulkan-headers/include")
.include("parallel-rdp/parallel-rdp-standalone/util")
.include(
std::path::PathBuf::from(std::env::var("DEP_SDL3_OUT_DIR").to_owned().unwrap())
.join("include"),
std::path::PathBuf::from(std::env::var("DEP_SDL3_OUT_DIR").unwrap()).join("include"),
)
.include(
std::path::PathBuf::from(std::env::var("DEP_SDL3_TTF_OUT_DIR").to_owned().unwrap())
std::path::PathBuf::from(std::env::var("DEP_SDL3_TTF_OUT_DIR").unwrap())
.join("include"),
);